Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'tr/bash-read-unescaped'
[gitweb.git]
/
builtin
/
commit-tree.c
diff --git
a/builtin/commit-tree.c
b/builtin/commit-tree.c
index b9c331225f0d5c960e9e03f2c92d498f8f01f74c..05353c30f292684b44b42f7f744d8eb1b7062f69 100644
(file)
--- a/
builtin/commit-tree.c
+++ b/
builtin/commit-tree.c
@@
-98,7
+98,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, NULL)) {
+ if (commit_tree(
&buffer
, tree_sha1, parents, commit_sha1, NULL)) {
strbuf_release(&buffer);
return 1;
}