mirror of
https://github.com/git/git.git
synced 2026-04-11 17:30:08 +02: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:
committed by
Junio C Hamano
parent
18b633cafc
commit
4839bd8a66
@@ -257,6 +257,7 @@ fi
|
||||
fetch_main () {
|
||||
reflist="$1"
|
||||
refs=
|
||||
rref=
|
||||
|
||||
for ref in $reflist
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user