projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make "parse_object()" also fill in commit message buffer data.
[git.git]
/
fsck-cache.c
diff --git
a/fsck-cache.c
b/fsck-cache.c
index
6ac122b
..
4050c17
100644
(file)
--- a/
fsck-cache.c
+++ b/
fsck-cache.c
@@
-203,6
+203,8
@@
static int fsck_tree(struct tree *item)
static int fsck_commit(struct commit *commit)
{
+ free(commit->buffer);
+ commit->buffer = NULL;
if (!commit->tree)
return -1;
if (!commit->parents && show_root)