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>
Shawn O. Pearce committed
Jan 25, 2007 at 13:01 UTC
5753ef1a4eca7b4ce04d1e4ea2250442bba4dbb9
1 file changed
+4
-6
git-gui.sh
+4
-6
@@ -3772,12 +3772,10 @@ menu .mbar.repository
3772
-label {Visualize Current Branch} \
3773
-command {do_gitk {}} \
3774
-font font_ui
3775
-if {![is_MacOSX]} {
3776
- .mbar.repository add command \
3777
- -label {Visualize All Branches} \
3778
- -command {do_gitk {--all}} \
3779
- -font font_ui
3780
-}
3775
+.mbar.repository add command \
3776
+ -label {Visualize All Branches} \
3777
+ -command {do_gitk {--all}} \
3778
+ -font font_ui
3779
.mbar.repository add separator
3780
3781
if {!$single_commit} {