Code

Merge branch 'maint'
[git.git] / builtin / commit-tree.c
index d5e19af54702d5d2ab38a5e4ef2cab6c9b88eead..164b655df93fea1ec2f63f5238c1ad7a377c8385 100644 (file)
@@ -116,7 +116,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;