Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/pull-rebase'
[gitweb.git]
/
builtin-for-each-ref.c
diff --git
a/builtin-for-each-ref.c
b/builtin-for-each-ref.c
index a5064441833ef1f69a245f2a9d11397b1f147caf..daf3a081650b6b39fe18f0fab61fa8b3f6c8be0f 100644
(file)
--- a/
builtin-for-each-ref.c
+++ b/
builtin-for-each-ref.c
@@
-304,7
+304,7
@@
static const char *find_wholine(const char *who, int wholen, const char *buf, un
if (!eol)
return "";
eol++;
- if (
eol[1]
== '\n')
+ if (
*eol
== '\n')
return ""; /* end of header */
buf = eol;
}