aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2024-08-09 08:07:25 +0100
committerGitHub <noreply@github.com>2024-08-09 08:07:25 +0100
commit728f1494421b0f32403ec18767ac2ab1cde68ff0 (patch)
treea5195706f80756aec4dd0e339680b090b0312f62 /plumbing
parentc594bae8d75d3728947ffc9ad266acce32057dca (diff)
parent3624ec147c8c6ecb5df05f9b11731628e36f1744 (diff)
downloadgo-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')
-rw-r--r--plumbing/format/index/decoder.go1
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 {