Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanti Béjar <sbejar@gmail.com>2006-09-29 22:05:40 +0400
committerJunio C Hamano <junkio@cox.net>2006-09-30 05:54:13 +0400
commit4839bd8a6605e0c9c5c68ddec40d2a1a5ddd57d8 (patch)
tree181f8521dc33d99a730e920834df464c0f74574a /git-fetch.sh
parent18b633cafcd43b83d752738fea62f185d4de1b91 (diff)
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>
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index bcc67ab0b0..f1522bd49a 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