diff options
author | Paulo Gomes <pjbgf@linux.com> | 2024-06-28 23:10:23 +0100 |
---|---|---|
committer | Paulo Gomes <pjbgf@linux.com> | 2024-06-29 00:09:34 +0100 |
commit | f61638f24a924c48606977e38920eac07c7251e2 (patch) | |
tree | d2b4a3d38a688921a46392b6b8151190bbb216c7 /repository.go | |
parent | 1e72372fced2c3b5300f1408e6e71b1a50adc6e3 (diff) | |
download | go-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.go | 2 |
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 } |