Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 786939e

Browse files
authored
Merge pull request #641 from sunfishgao/patch-1
fix: a range loop can break in advance
2 parents e2791ac + a8136d2 commit 786939e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

remote.go

+1
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ func (r *Remote) newUploadPackRequest(o *FetchOptions,
737737
for _, s := range o.RefSpecs {
738738
if !s.IsWildcard() {
739739
isWildcard = false
740+
break
740741
}
741742
}
742743

0 commit comments

Comments
 (0)