mirror of
https://github.com/git/git.git
synced 2024-10-29 21:37:53 +01:00
git-gui: Add Refresh to diff viewer context menu.
Sometimes you want to just force the diff to redisplay itself without rescanning every file in the filesystem (as that can be very costly on large projects and slow operating systems). Now you can force a diff-only refresh from the context menu. Previously you could also do this by reclicking on the file name in the UI, but it may not be obvious to all users, having a context menu option makes it more clear. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
a4b1786b95
commit
68c30b4af1
1 changed files with 4 additions and 0 deletions
|
@ -3921,6 +3921,10 @@ $ui_diff tag conf d>>>>>>> \
|
|||
#
|
||||
set ctxm .vpane.lower.diff.body.ctxm
|
||||
menu $ctxm -tearoff 0
|
||||
$ctxm add command \
|
||||
-label {Refresh} \
|
||||
-font font_ui \
|
||||
-command reshow_diff
|
||||
$ctxm add command \
|
||||
-label {Copy} \
|
||||
-font font_ui \
|
||||
|
|
Loading…
Reference in a new issue