diff options
author | Paulo Gomes <pjbgf@linux.com> | 2024-08-09 08:07:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 08:07:25 +0100 |
commit | 728f1494421b0f32403ec18767ac2ab1cde68ff0 (patch) | |
tree | a5195706f80756aec4dd0e339680b090b0312f62 /plumbing/format | |
parent | c594bae8d75d3728947ffc9ad266acce32057dca (diff) | |
parent | 3624ec147c8c6ecb5df05f9b11731628e36f1744 (diff) | |
download | go-git-728f1494421b0f32403ec18767ac2ab1cde68ff0.tar.gz |
Merge pull request #1128 from pjbgf/small-fixes
Fix some lint warning and increase stalebot to 180 days
Diffstat (limited to 'plumbing/format')
-rw-r--r-- | plumbing/format/index/decoder.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plumbing/format/index/decoder.go b/plumbing/format/index/decoder.go index f43b1c5..fc25d37 100644 --- a/plumbing/format/index/decoder.go +++ b/plumbing/format/index/decoder.go @@ -225,7 +225,6 @@ func (d *Decoder) readExtensions(idx *Index) error { peeked, err = d.buf.Peek(peekLen) if len(peeked) < peekLen { // there can't be an extension at this point, so let's bail out - err = nil break } if err != nil { |