aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pack_idx.go1
-rw-r--r--refs_test.go1
2 files changed, 0 insertions, 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) {