Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'fix'
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 05c4c923faaa1b2ee0c48ebc4230657fbbab6077..2717dd81c346d89bf5d6727e3aa1f5b65ff39aca 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-160,7
+160,7
@@
struct commit_graft *read_graft_line(char *buf, int len)
if (buf[len-1] == '\n')
buf[--len] = 0;
- if (buf[0] == '#')
+ if (buf[0] == '#'
|| buf[0] == '\0'
)
return NULL;
if ((len + 1) % 41) {
bad_graft_data: