mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +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…
Reference in a new issue