Merge branch 'maint'

* maint:
  git-gui: check whether systems nice command works or disable it
This commit is contained in:
Shawn O. Pearce 2010-02-08 07:57:37 -08:00
commit 2a9edd0305

View File

@ -416,6 +416,9 @@ proc _lappend_nice {cmd_var} {
if {![info exists _nice]} {
set _nice [_which nice]
if {[catch {exec $_nice git version}]} {
set _nice {}
}
}
if {$_nice ne {}} {
lappend cmd $_nice