aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_linux.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 /worktree_linux.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 'worktree_linux.go')
-rw-r--r--worktree_linux.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/worktree_linux.go b/worktree_linux.go
index 6fcace2..f6b85fe 100644
--- a/worktree_linux.go
+++ b/worktree_linux.go
@@ -1,3 +1,4 @@
+//go:build linux
// +build linux
package git
@@ -21,6 +22,6 @@ func init() {
}
}
-func isSymlinkWindowsNonAdmin(err error) bool {
+func isSymlinkWindowsNonAdmin(_ error) bool {
return false
}