From 8c8bb94f94f1d972c7ffadda4744cf343fac6f34 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 26 Jan 2007 14:41:01 +0100 Subject: [PATCH] gitk: Use peek-remote instead of ls-remote. git --git-dir is certainly always local, so there is no need to ask for the advanced services of ls-remote. --- gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitk b/gitk index 031c829f26..e415915b74 100755 --- a/gitk +++ b/gitk @@ -309,7 +309,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 peek-remote [gitdir]] r] while {0 <= [set n [gets $refd line]]} { if {![regexp {^([0-9a-f]{40}) refs/([^^]*)$} $line \ match id path]} {