From: Shawn O. Pearce Date: Thu, 25 Jan 2007 18:01:16 +0000 (-0500) Subject: git-gui: Support 'Visualize All Branches' on Mac OS X. X-Git-Tag: gitgui-0.6.0~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5753ef1a4eca7b4ce04d1e4ea2250442bba4dbb9;p=git.git 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 --- diff --git a/git-gui.sh b/git-gui.sh index ea4136c98..639f38078 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} {