projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6bfaf3
)
Allow empty lines in info/grafts
author
Yann Dirson
<ydirson@altern.org>
Mon, 17 Apr 2006 11:41:49 +0000
(13:41 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 17 Apr 2006 21:17:50 +0000
(14:17 -0700)
In addition to the existing comment support, that just allows the user
to use a convention that works pretty much everywhere else.
Signed-off-by: Yann Dirson <ydirson@altern.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c
patch
|
blob
|
history
diff --git
a/commit.c
b/commit.c
index
05c4c92
..
2717dd8
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: