Browse Source

git-gui: Clarify the visualize history menu options

Users who are new to Git may not realize that visualizing things in
a repository involves looking at history.  Adding in a small amount
of text to the menu items really helps to understand what the action
might do, before you invoke it.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
maint
Shawn O. Pearce 18 years ago
parent
commit
4040971269
  1. 6
      git-gui.sh

6
git-gui.sh

@ -1679,11 +1679,11 @@ trace add variable current_branch write ".mbar.repository entryconf [.mbar.repos @@ -1679,11 +1679,11 @@ trace add variable current_branch write ".mbar.repository entryconf [.mbar.repos
.mbar.repository add separator

.mbar.repository add command \
-label {Visualize Current Branch} \
-label {Visualize Current Branch's History} \
-command {do_gitk $current_branch}
trace add variable current_branch write ".mbar.repository entryconf [.mbar.repository index last] -label \"Visualize \$current_branch\" ;#"
trace add variable current_branch write ".mbar.repository entryconf [.mbar.repository index last] -label \"Visualize \$current_branch's History\" ;#"
.mbar.repository add command \
-label {Visualize All Branches} \
-label {Visualize All Branch History} \
-command {do_gitk --all}
.mbar.repository add separator


Loading…
Cancel
Save