aboutsummaryrefslogtreecommitdiff
path: root/internal/git/git.go
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-26 10:08:02 +0000
committerFuwn <[email protected]>2026-01-26 10:08:02 +0000
commit204d3d4227161234beb8af5334cd0eecd1b41632 (patch)
tree70f4197fa50d767662cd50089d93bd4583df2950 /internal/git/git.go
parentstyle: Fix formatting inconsistencies (diff)
downloadmugi-204d3d4227161234beb8af5334cd0eecd1b41632.tar.xz
mugi-204d3d4227161234beb8af5334cd0eecd1b41632.zip
style(git): Return nil slice over empty
Diffstat (limited to 'internal/git/git.go')
-rw-r--r--internal/git/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/git.go b/internal/git/git.go
index 2455977..a7a3d5a 100644
--- a/internal/git/git.go
+++ b/internal/git/git.go
@@ -84,7 +84,7 @@ func buildArgs(op remote.Operation, remoteName, repoPath string, force bool) []s
case remote.Fetch:
return []string{"fetch", remoteName}
default:
- return []string{}
+ return nil
}
}