aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/reference_test.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-04-26 09:02:14 +0100
committerGitHub <noreply@github.com>2023-04-26 09:02:14 +0100
commitf6d1ef69354006ad01bfc920e670e350cc117a9d (patch)
tree953928fc50902fa025058dde937c482c4531e2a6 /plumbing/reference_test.go
parent0a1c5ab118998a22ef88d8e6c42970197d77413c (diff)
parentca09e555e4b4b6bdd4c25acafe1b0e42353e2c50 (diff)
downloadgo-git-f6d1ef69354006ad01bfc920e670e350cc117a9d.tar.gz
Merge pull request #743 from fcharlie/improve-packed-refs
storage: filesystem/dotgit, Improve load packed-refs
Diffstat (limited to 'plumbing/reference_test.go')
-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()
}
}