Code

gitweb: Fix errors in git_patchset_body for empty patches
authorJakub Narebski <jnareb@gmail.com>
Sun, 7 Jan 2007 01:52:25 +0000 (02:52 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 7 Jan 2007 06:52:54 +0000 (22:52 -0800)
commit66399eff86555fce52dc7b54829f02e4bb2424b7
tree2e3340df6121a6d76db1d4191c3238389c92358f
parent2e1951f6eddfa070916a0e678aa508f73d92aa50
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>
gitweb/gitweb.perl