author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 7 Jan 2007 01:52:23 +0000 (02:52 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 7 Jan 2007 06:52:49 +0000 (22:52 -0800) | ||
commit | 62e4f26f3d55bd66989d9b953988de18ba393417 | |
tree | 1618bcba61be647eaecfd28288f9f12ff1e19e6f | tree | snapshot |
parent | fffe694d607ea683b5d08ee99a46d9b06cb74006 | commit | diff |
gitweb: Fix error in git_patchest_body for file creation/deletion patch
$from_id, $to_id variables should be local per PATCH.
Fix error in git_patchset_body for file creation (deletion) patches,
where instead of /dev/null as from-file (to-file) diff header line, it
had link to previous file with current file name. This error occured
only if there was another patch before file creation (deletion) patch.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
$from_id, $to_id variables should be local per PATCH.
Fix error in git_patchset_body for file creation (deletion) patches,
where instead of /dev/null as from-file (to-file) diff header line, it
had link to previous file with current file name. This error occured
only if there was another patch before file creation (deletion) patch.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |