summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e817d1)
raw | patch | inline | side by side (parent: 4e817d1)
author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 27 Jun 2007 04:27:13 +0000 (00:27 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 27 Jun 2007 04:27:13 +0000 (00:27 -0400) |
Johannes Sixt reported that MinGW/MSYS does not have a nice.exe to
drop the priority of a child process when it gets spawned. So we
have to avoid trying to start `git blame` through nice when we are
on Windows and do not have Cygwin available to us.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
drop the priority of a child process when it gets spawned. So we
have to avoid trying to start `git blame` through nice when we are
on Windows and do not have Cygwin available to us.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl | patch | blob | history |
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 076233c3c33a1a39a1c5cb5727edfe240e618607..b5236548152043c5ec29997a791f5a51fa3f56cb 100644 (file)
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
} 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 {}} {