mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Avoid gofumpt'ing other worktrees
This is usually not a problem (except for the unnecessarily wasted time) because all worktrees should normally be correctly formatted; but it is a problem when we bump the formatter version, and some worktrees are already on the new version and others still on the old.
This commit is contained in:
parent
af04698d9a
commit
1a3cf798f9
3
go.mod
3
go.mod
|
|
@ -5,6 +5,9 @@ go 1.25.0
|
||||||
// This is necessary to ignore test files when executing gofumpt.
|
// This is necessary to ignore test files when executing gofumpt.
|
||||||
ignore ./test
|
ignore ./test
|
||||||
|
|
||||||
|
// Likewise for worktrees that are nested in the main tree.
|
||||||
|
ignore ./.worktrees
|
||||||
|
|
||||||
require (
|
require (
|
||||||
dario.cat/mergo v1.0.2
|
dario.cat/mergo v1.0.2
|
||||||
github.com/adrg/xdg v0.5.3
|
github.com/adrg/xdg v0.5.3
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue