Commit 62e4f26
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>1 parent fffe694 commit 62e4f26
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2378 | 2378 | | |
2379 | 2379 | | |
2380 | 2380 | | |
2381 | | - | |
2382 | 2381 | | |
2383 | 2382 | | |
2384 | 2383 | | |
| |||
2392 | 2391 | | |
2393 | 2392 | | |
2394 | 2393 | | |
| 2394 | + | |
2395 | 2395 | | |
2396 | 2396 | | |
2397 | 2397 | | |
| |||
2439 | 2439 | | |
2440 | 2440 | | |
2441 | 2441 | | |
| 2442 | + | |
| 2443 | + | |
2442 | 2444 | | |
2443 | 2445 | | |
2444 | 2446 | | |
2445 | 2447 | | |
2446 | 2448 | | |
| 2449 | + | |
| 2450 | + | |
2447 | 2451 | | |
2448 | 2452 | | |
2449 | 2453 | | |
| |||
0 commit comments