Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
vscode: only overwrite C/C++ settings
[gitweb.git]
/
sha1-file.c
diff --git
a/sha1-file.c
b/sha1-file.c
index 695e5c62764cf4befe09467f1a658b25c01baba1..de4839e634c02cb7497f05a3a4597b9fa5123e32 100644
(file)
--- a/
sha1-file.c
+++ b/
sha1-file.c
@@
-1801,7
+1801,7
@@
static void check_commit(const void *buf, size_t size)
{
struct commit c;
memset(&c, 0, sizeof(c));
- if (parse_commit_buffer(&c, buf, size))
+ if (parse_commit_buffer(&c, buf, size
, 0
))
die("corrupt commit");
}