summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-27 00:36:38 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-27 00:36:38 -0400
commit03d25622a5c0f8d0fc4030f3114974d86f20fd61 (patch)
tree4fbe35cd50e671e27635843e3474e3b1e4da2706 /lib
parentMerge branch 'maint' (diff)
parentgit-gui: Don't require a .pvcsrc to create Tools/Migrate menu hack (diff)
downloadtgif-03d25622a5c0f8d0fc4030f3114974d86f20fd61.tar.xz
Merge branch 'maint'
* maint: git-gui: Don't require a .pvcsrc to create Tools/Migrate menu hack git-gui: Don't nice git blame on MSYS as nice is not supported git-gui: Don't require $DISPLAY just to get --version
Diffstat (limited to 'lib')
-rw-r--r--lib/blame.tcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 076233c3c3..b523654815 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -487,7 +487,11 @@ method _read_file {fd jump} {
} ifdeleted { catch {close $fd} }
method _exec_blame {cur_w cur_d options cur_s} {
- set cmd [list nice git blame]
+ set cmd [list]
+ if {![is_Windows] || [is_Cygwin]} {
+ lappend cmd nice
+ }
+ lappend cmd git blame
set cmd [concat $cmd $options]
lappend cmd --incremental
if {$commit eq {}} {