mirror of
https://github.com/git/git.git
synced 2025-03-16 05:54:57 +00:00
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>
This commit is contained in:
parent
18b633cafc
commit
4839bd8a66
@ -257,6 +257,7 @@ fi
|
||||
fetch_main () {
|
||||
reflist="$1"
|
||||
refs=
|
||||
rref=
|
||||
|
||||
for ref in $reflist
|
||||
do
|
||||
|
Loading…
x
Reference in New Issue
Block a user