projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Remove a function not used anymore.
[git.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index
b4e000e
..
abbf155
100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-103,6
+103,10
@@
int parse_commit(struct commit *item)
sha1_to_hex(item->object.sha1));
}
ret = parse_commit_buffer(item, buffer, size);
+ if (!ret) {
+ item->buffer = buffer;
+ return 0;
+ }
free(buffer);
return ret;
}