Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
lib
/
remote.tcl
diff --git
a/lib/remote.tcl
b/lib/remote.tcl
index fabec05fff3edb1e1709b2557ec0ede1470ec7ae..e235ca88765090e08707f63096369d56da76d196 100644
(file)
--- a/
lib/remote.tcl
+++ b/
lib/remote.tcl
@@
-32,7
+32,7
@@
proc all_tracking_branches {} {
}
if {$pat ne {}} {
- set fd [
open "| git for-each-ref --format=%(refname) $cmd" r
]
+ set fd [
eval git_read for-each-ref --format=%(refname) $cmd
]
while {[gets $fd n] > 0} {
foreach spec $pat {
set dst [string range [lindex $spec 0] 0 end-2]