aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorForce Charlie <charlieio@outlook.com>2023-04-25 21:51:46 +0800
committerForce Charlie <charlieio@outlook.com>2023-04-25 21:51:46 +0800
commitca09e555e4b4b6bdd4c25acafe1b0e42353e2c50 (patch)
treedf16e6528ec133db0d41cb03e1572123e39fbee1 /plumbing
parentb154dcce7059e4e02f8798db158b6a76ffc4a63e (diff)
downloadgo-git-ca09e555e4b4b6bdd4c25acafe1b0e42353e2c50.tar.gz
storage: filesystem/dotgit, Improve load packed-refs
Diffstat (limited to 'plumbing')
-rw-r--r--plumbing/reference_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/reference_test.go b/plumbing/reference_test.go
index e69076f..04dfef9 100644
--- a/plumbing/reference_test.go
+++ b/plumbing/reference_test.go
@@ -105,7 +105,7 @@ func (s *ReferenceSuite) TestIsTag(c *C) {
func benchMarkReferenceString(r *Reference, b *testing.B) {
for n := 0; n < b.N; n++ {
- r.String()
+ _ = r.String()
}
}