summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d6db1bb)
raw | patch | inline | side by side (parent: d6db1bb)
author | Heiko Voigt <hvoigt@hvoigt.net> | |
Sun, 7 Feb 2010 21:47:56 +0000 (22:47 +0100) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 8 Feb 2010 15:56:55 +0000 (07:56 -0800) |
This fixes issue 394 from msysgit. It seems that the Gnuwin32 project
provides a nice command but it returns a "not implemented" error. To
help users we now try to execute once and disable it in case it fails.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
provides a nice command but it returns a "not implemented" error. To
help users we now try to execute once and disable it in case it fails.
Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | patch | blob | history |
diff --git a/git-gui.sh b/git-gui.sh
index 85fbc021fe93071c014677a509e183dcec699985..549f59ba73c1496dde635d6f4035a3678ba7bcdf 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
if {![info exists _nice]} {
set _nice [_which nice]
+ if {[catch {exec $_nice git version}]} {
+ set _nice {}
+ }
}
if {$_nice ne {}} {
lappend cmd $_nice