Subject: [PATCH 1/5] fetch: Reset remote refs list each time fetch_main is called

From: Santi Béjar <[email-masked]>
Date: Fri, 29 Sep 2006 20:05:40 +0200

This prevents the fetch of the heads again in the second call of fetch_main.

Signed-off-by: Santi Béjar <[email-masked]>
---
 git-fetch.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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 @@ fi
 fetch_main () {
   reflist="$1"
   refs=
+  rref=
 
   for ref in $reflist
   do
-- 
1.4.2.1.g38049