mirror of
https://github.com/git/git.git
synced 2026-04-01 20:40:08 +02:00
Merge branch 'work/issue387' into work/1.7.0.2
This commit is contained in:
@@ -9400,7 +9400,14 @@ proc getallcommits {} {
|
||||
}
|
||||
}
|
||||
if {$ids ne {}} {
|
||||
set fd [open [concat $cmd $ids] r]
|
||||
set cmd [concat $cmd $ids]
|
||||
# XP and later accept up to 8191 characters in the command line
|
||||
# see http://support.microsoft.com/kb/830473
|
||||
if {[tk windowingsystem] == "win32" &&
|
||||
[string length $cmd] > 8191} {
|
||||
set cmd [regsub "^(.{1,8191}) .*\$" $cmd "\\1"]
|
||||
}
|
||||
set fd [open $cmd r]
|
||||
fconfigure $fd -blocking 0
|
||||
incr allcommits
|
||||
nowbusy allcommits
|
||||
|
||||
Reference in New Issue
Block a user