Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_file: convert write_sha1_file to object_id
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 643f3daec34a562028ca9d5884d70f5f7b468387..0d325328723e6915696530f1b8033dbd6cc7a620 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-1567,7
+1567,7
@@
int commit_tree_extended(const char *msg, size_t msg_len,
goto out;
}
- result = write_
sha1_file(buffer.buf, buffer.len, commit_type, ret->hash
);
+ result = write_
object_file(buffer.buf, buffer.len, commit_type, ret
);
out:
strbuf_release(&buffer);
return result;