]> Lady’s Gitweb - Gitweb/commit
gitweb: Fix error in git_patchest_body for file creation/deletion patch
authorJakub Narebski <redacted>
Sun, 7 Jan 2007 01:52:23 +0000 (02:52 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commite86571b18e62ab5b67c3db72aaccd43572f9c34533f47772d33d0cfd18dd97b8
treea2a317166fca910deac8404d7cf0d6156382e20e51fc2bf6deb0914c5f03b6db
parent2851708a5984c8ee0aa3df7d7ee73c6d092d513beec489333cb46ea0819967e7
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.232568 seconds and 4 git commands to generate.