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 () {
|
fetch_main () {
|
||||||
reflist="$1"
|
reflist="$1"
|
||||||
refs=
|
refs=
|
||||||
|
rref=
|
||||||
|
|
||||||
for ref in $reflist
|
for ref in $reflist
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user