From cb5dfd4896168d21c10cd4121cef96c05b9e8bbd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 17 Nov 2025 00:00:00 +0000 Subject: Remove an unnecessary blank line --- pack_idx.go | 1 - refs_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/pack_idx.go b/pack_idx.go index 3cb89701..a9cb9056 100644 --- a/pack_idx.go +++ b/pack_idx.go @@ -261,7 +261,6 @@ func (pi *packIndex) lookup(id Hash) (packlocation, error) { if err != nil { return packlocation{}, err } - // Verify hash size matches repository hash size if id.size != pi.repo.hashSize { return packlocation{}, fmt.Errorf("furgit: hash size mismatch: got %d, expected %d", id.size, pi.repo.hashSize) } diff --git a/refs_test.go b/refs_test.go index c9f3da57..ddef4c14 100644 --- a/refs_test.go +++ b/refs_test.go @@ -89,7 +89,6 @@ func TestResolveHEAD(t *testing.T) { default: t.Errorf("HEAD kind: got %v, want %v", ref.Kind, HeadKindSymbolic) } - } func TestPackedRefs(t *testing.T) { -- cgit v1.3.1-10-gc9f91