diff options
author | Force Charlie <charlieio@outlook.com> | 2023-04-25 21:51:46 +0800 |
---|---|---|
committer | Force Charlie <charlieio@outlook.com> | 2023-04-25 21:51:46 +0800 |
commit | ca09e555e4b4b6bdd4c25acafe1b0e42353e2c50 (patch) | |
tree | df16e6528ec133db0d41cb03e1572123e39fbee1 /plumbing | |
parent | b154dcce7059e4e02f8798db158b6a76ffc4a63e (diff) | |
download | go-git-ca09e555e4b4b6bdd4c25acafe1b0e42353e2c50.tar.gz |
storage: filesystem/dotgit, Improve load packed-refs
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/reference_test.go | 2 |
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() } } |