[PATCH] gitk: Use git wrapper to run git-ls-remote.
[git.git] / gitk
diff --git a/gitk b/gitk
index 8aff933..2609921 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -284,7 +284,7 @@ proc readrefs {} {
     foreach v {tagids idtags headids idheads otherrefids idotherrefs} {
        catch {unset $v}
     }
-    set refd [open [list | git-ls-remote [gitdir]] r]
+    set refd [open [list | git ls-remote [gitdir]] r]
     while {0 <= [set n [gets $refd line]]} {
        if {![regexp {^([0-9a-f]{40})   refs/([^^]*)$} $line \
            match id path]} {