diff options
author | Sunfish <704613309@qq.com> | 2017-11-13 16:01:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 16:01:52 +0800 |
commit | a8136d248509e1a1498f48abb23acc71063d6f51 (patch) | |
tree | 5c71dfeea79f266c9298d5126879acb52cbd25fa /remote.go | |
parent | f9879dd043f84936a1f8acb8a53b74332a7ae135 (diff) | |
download | go-git-a8136d248509e1a1498f48abb23acc71063d6f51.tar.gz |
fix: a range loop can break in advance
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -617,6 +617,7 @@ func (r *Remote) newUploadPackRequest(o *FetchOptions, for _, s := range o.RefSpecs { if !s.IsWildcard() { isWildcard = false + break } } |