Skip to content

Commit

Permalink
fetch: Reset remote refs list each time fetch_main is called
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Santi Béjar authored and Junio C Hamano committed Sep 30, 2006
1 parent 18b633c commit 4839bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ fi
fetch_main () {
reflist="$1"
refs=
rref=
for ref in $reflist
do
Expand Down

0 comments on commit 4839bd8

Please sign in to comment.