Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add.c: extract new die_if_path_beyond_symlink() for reuse
[gitweb.git]
/
builtin
/
commit-tree.c
diff --git
a/builtin/commit-tree.c
b/builtin/commit-tree.c
index 792670a9d18bc8e5126fe56c8755f9ac036a7728..a0df12ce16abda416fc9f33448bc895e74f4b0d1 100644
(file)
--- a/
builtin/commit-tree.c
+++ b/
builtin/commit-tree.c
@@
-113,7
+113,7
@@
int cmd_commit_tree(int argc, const char **argv, const char *prefix)
die_errno("git commit-tree: failed to read");
}
- if (commit_tree(
buffer.buf
, tree_sha1, parents, commit_sha1,
+ if (commit_tree(
&buffer
, tree_sha1, parents, commit_sha1,
NULL, sign_commit)) {
strbuf_release(&buffer);
return 1;