Merge branch 'maint'
* maint: git-gui: check whether systems nice command works or disable it
This commit is contained in:
commit
2a9edd0305
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user