Commit f4c54b3
committed
gitk: Synchronize highlighting in file view for 'f' and 'b' commands
This is based on a patch by Eric Raible <raible@gmail.com>, but does
things a bit more simply.
Previously, 'b', backspace, and delete all did the same thing.
This changes 'b' to perform the inverse of 'f'. And both of
them now highlight the filename of the currently diff.
This makes it easier to review and navigate the diffs associated
with a particular commit using only f, b, and space because the
filename of the currently display diff will be dynamically
highlighted.
Signed-off-by: Paul Mackerras <paulus@samba.org>1 parent 5e3502d commit f4c54b3
1 file changed
+25
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
1019 | | - | |
| 1019 | + | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
| |||
5479 | 5479 | | |
5480 | 5480 | | |
5481 | 5481 | | |
| 5482 | + | |
| 5483 | + | |
| 5484 | + | |
| 5485 | + | |
| 5486 | + | |
| 5487 | + | |
| 5488 | + | |
| 5489 | + | |
| 5490 | + | |
| 5491 | + | |
5482 | 5492 | | |
5483 | | - | |
5484 | | - | |
| 5493 | + | |
| 5494 | + | |
| 5495 | + | |
| 5496 | + | |
| 5497 | + | |
5485 | 5498 | | |
5486 | 5499 | | |
5487 | 5500 | | |
5488 | | - | |
| 5501 | + | |
5489 | 5502 | | |
5490 | 5503 | | |
5491 | 5504 | | |
| 5505 | + | |
5492 | 5506 | | |
5493 | | - | |
| 5507 | + | |
5494 | 5508 | | |
5495 | 5509 | | |
5496 | 5510 | | |
5497 | | - | |
| 5511 | + | |
| 5512 | + | |
| 5513 | + | |
5498 | 5514 | | |
| 5515 | + | |
5499 | 5516 | | |
| 5517 | + | |
5500 | 5518 | | |
5501 | | - | |
| 5519 | + | |
5502 | 5520 | | |
5503 | 5521 | | |
5504 | 5522 | | |
| |||
0 commit comments