diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-07-27 12:49:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 12:49:28 +0200 |
commit | b7131019e6b2639f69623029a5a1f178bc920a4e (patch) | |
tree | e26b73542e52cc5619d69aaf64ee027a15b679ad /plumbing/format/idxfile | |
parent | a08061aa298ec4b92bbe470a1834465f25a0ad0d (diff) | |
parent | 3657a32e0ead55601a2af578abecd65dd2d8b64b (diff) | |
download | go-git-b7131019e6b2639f69623029a5a1f178bc920a4e.tar.gz |
Merge pull request #902 from jfontan/feature/new-packfile-parser
Bugfixes and IndexStorage
Diffstat (limited to 'plumbing/format/idxfile')
-rw-r--r-- | plumbing/format/idxfile/idxfile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/format/idxfile/idxfile.go b/plumbing/format/idxfile/idxfile.go index f8debb1..f57df2e 100644 --- a/plumbing/format/idxfile/idxfile.go +++ b/plumbing/format/idxfile/idxfile.go @@ -87,7 +87,7 @@ func (idx *MemoryIndex) findHashIndex(h plumbing.Hash) int { low = mid + 1 } - if low > high { + if low >= high { break } } |