diff options
| author | Shawn O. Pearce <spearce@spearce.org> | 2007-01-25 13:01:16 -0500 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2007-01-25 13:01:16 -0500 |
| commit | 5753ef1a4eca7b4ce04d1e4ea2250442bba4dbb9 (patch) | |
| tree | a66387baa1cb9b4533952f0b3bb256d92598dd72 /git-gui.sh | |
| parent | 23effa79f7697cd27f04cb6edc9680e11e15f02a (diff) | |
| download | git-5753ef1a4eca7b4ce04d1e4ea2250442bba4dbb9.tar.xz | |
git-gui: Support 'Visualize All Branches' on Mac OS X.
Now that recent versions of gitk (shipping with at least git 1.5.0-rc1
and later) actually accept command line revision specifiers without
crashing on internal Tk errors we can offer the 'Visualize All Branches'
menu item in the Repository menu on Mac OS X.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui.sh')
| -rwxr-xr-x | git-gui.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/git-gui.sh b/git-gui.sh index ea4136c98b..639f380784 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -3772,12 +3772,10 @@ menu .mbar.repository -label {Visualize Current Branch} \ -command {do_gitk {}} \ -font font_ui -if {![is_MacOSX]} { - .mbar.repository add command \ - -label {Visualize All Branches} \ - -command {do_gitk {--all}} \ - -font font_ui -} +.mbar.repository add command \ + -label {Visualize All Branches} \ + -command {do_gitk {--all}} \ + -font font_ui .mbar.repository add separator if {!$single_commit} { |
