author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 7 Jan 2007 01:52:25 +0000 (02:52 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 7 Jan 2007 06:52:54 +0000 (22:52 -0800) | ||
commit | 66399eff86555fce52dc7b54829f02e4bb2424b7 | |
tree | 2e3340df6121a6d76db1d4191c3238389c92358f | tree | snapshot |
parent | 2e1951f6eddfa070916a0e678aa508f73d92aa50 | commit | diff |
gitweb: Fix errors in git_patchset_body for empty patches
We now do not skip over empty patches in git_patchset_body (where
empty means that they consist only of git diff header, and of extended
diff header, for example "pure rename" patch). This means that after
extended diff header there can be next patch (i.e. /^diff /) or end of
patchset, and not necessary patch body (i.e. /^--- /).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
We now do not skip over empty patches in git_patchset_body (where
empty means that they consist only of git diff header, and of extended
diff header, for example "pure rename" patch). This means that after
extended diff header there can be next patch (i.e. /^diff /) or end of
patchset, and not necessary patch body (i.e. /^--- /).
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |