X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=apply.c;h=3ebbf6b1dcbd52d700c5d0e53cad4c3951cf1979;hb=e70a165d3db26dbab62e3430553a21d5e97b74ec;hp=7c1a8411f21ee42d095e6c5a515987ef2a6f779a;hpb=ca08acca68bf0e1c89fcbc29af18b68ea7bf5c36;p=git.git diff --git a/apply.c b/apply.c index 7c1a8411..3ebbf6b1 100644 --- a/apply.c +++ b/apply.c @@ -387,7 +387,7 @@ static char *git_header_name(char *line) default: continue; case '\n': - break; + return NULL; case '\t': case ' ': second = name+len; for (;;) {