commit | 4839bd8a6605e0c9c5c68ddec40d2a1a5ddd57d8 | [log] [tgz] |
---|---|---|
author | Santi Béjar <sbejar@gmail.com> | Fri Sep 29 20:05:40 2006 +0200 |
committer | Junio C Hamano <junkio@cox.net> | Fri Sep 29 18:54:13 2006 -0700 |
tree | 181f8521dc33d99a730e920834df464c0f74574a | |
parent | 18b633cafcd43b83d752738fea62f185d4de1b91 [diff] [blame] |
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>
diff --git a/git-fetch.sh b/git-fetch.sh index bcc67ab..f1522bd 100755 --- a/git-fetch.sh +++ b/git-fetch.sh
@@ -257,6 +257,7 @@ fetch_main () { reflist="$1" refs= + rref= for ref in $reflist do