From: Santi Béjar Date: Fri, 29 Sep 2006 18:05:40 +0000 (+0200) Subject: fetch: Reset remote refs list each time fetch_main is called X-Git-Tag: v1.4.3-rc1~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4839bd8a6605e0c9c5c68ddec40d2a1a5ddd57d8;p=git.git fetch: Reset remote refs list each time fetch_main is called 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 --- 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