Merge branch 'lp/no-cmd-http-fetch' into maint-1.7.11
[gitweb.git] / builtin / commit-tree.c
index 792670a9d18bc8e5126fe56c8755f9ac036a7728..a0df12ce16abda416fc9f33448bc895e74f4b0d1 100644 (file)
@@ -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;