From 4839bd8a6605e0c9c5c68ddec40d2a1a5ddd57d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Santi=20B=C3=A9jar?= Date: Fri, 29 Sep 2006 20:05:40 +0200 Subject: [PATCH] fetch: Reset remote refs list each time fetch_main is called MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This prevents the fetch of the heads again in the second call of fetch_main. Signed-off-by: Santi Béjar Signed-off-by: Junio C Hamano --- git-fetch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-fetch.sh b/git-fetch.sh index bcc67ab0b..f1522bd49 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -257,6 +257,7 @@ fi fetch_main () { reflist="$1" refs= + rref= for ref in $reflist do -- 2.26.2