Commit 2df6442
gitk: Fix file list context menu for merge commits
Currently it displays an ugly error box, because the treediffs array
is not filled for such commits. This fixes it by making
getmergediffline add the filenames it sees to the treediffs array
like gettreediffline does.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>1 parent bee866f commit 2df6442
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6418 | 6418 | | |
6419 | 6419 | | |
6420 | 6420 | | |
6421 | | - | |
| 6421 | + | |
6422 | 6422 | | |
6423 | 6423 | | |
6424 | 6424 | | |
6425 | 6425 | | |
6426 | 6426 | | |
6427 | 6427 | | |
6428 | 6428 | | |
| 6429 | + | |
6429 | 6430 | | |
6430 | 6431 | | |
6431 | 6432 | | |
| |||
6445 | 6446 | | |
6446 | 6447 | | |
6447 | 6448 | | |
6448 | | - | |
| 6449 | + | |
6449 | 6450 | | |
6450 | 6451 | | |
6451 | 6452 | | |
| |||
6462 | 6463 | | |
6463 | 6464 | | |
6464 | 6465 | | |
| 6466 | + | |
6465 | 6467 | | |
6466 | 6468 | | |
6467 | 6469 | | |
| |||
0 commit comments