@matheusbsbs / matheus-bagliano / commits / 4839bd8a66
Fork 0

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 <sbejar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>

Santi Béjar committed Sep 29, 2006 at 20:05 UTC 4839bd8a6605e0c9c5c68ddec40d2a1a5ddd57d8
1 file changed +1
git-fetch.sh
+1
@@ -257,6 +257,7 @@ fi
257 fetch_main () {
258 reflist="$1"
259 refs=
260 + rref=
261
262 for ref in $reflist
263 do