aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2024-06-28 23:10:23 +0100
committerPaulo Gomes <pjbgf@linux.com>2024-06-29 00:09:34 +0100
commitf61638f24a924c48606977e38920eac07c7251e2 (patch)
treed2b4a3d38a688921a46392b6b8151190bbb216c7 /repository.go
parent1e72372fced2c3b5300f1408e6e71b1a50adc6e3 (diff)
downloadgo-git-f61638f24a924c48606977e38920eac07c7251e2.tar.gz
*: Small fixes to remove linter warnings
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go
index a57c714..6d7e196 100644
--- a/repository.go
+++ b/repository.go
@@ -1037,7 +1037,7 @@ func (r *Repository) setIsBare(isBare bool) error {
return r.Storer.SetConfig(cfg)
}
-func (r *Repository) updateRemoteConfigIfNeeded(o *CloneOptions, c *config.RemoteConfig, head *plumbing.Reference) error {
+func (r *Repository) updateRemoteConfigIfNeeded(o *CloneOptions, c *config.RemoteConfig, _ *plumbing.Reference) error {
if !o.SingleBranch {
return nil
}