Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config_rename_section: fix FILE* leak
[gitweb.git]
/
builtin-commit-tree.c
diff --git
a/builtin-commit-tree.c
b/builtin-commit-tree.c
index e2e690a1ae89b47f595288e452da10113f7b2e8f..856f3cd841818bdad4446b3f7b75d5ab22959788 100644
(file)
--- a/
builtin-commit-tree.c
+++ b/
builtin-commit-tree.c
@@
-107,8
+107,6
@@
int cmd_commit_tree(int argc, const char **argv, const char *prefix)
if (new_parent(parents))
parents++;
}
- if (!parents)
- fprintf(stderr, "Committing initial tree %s\n", argv[1]);
init_buffer(&buffer, &size);
add_buffer(&buffer, &size, "tree %s\n", sha1_to_hex(tree_sha1));