diff --git a/src/cmd/distpack/pack.go b/src/cmd/distpack/pack.go index 09c3a33119..53e9dbd73b 100644 --- a/src/cmd/distpack/pack.go +++ b/src/cmd/distpack/pack.go @@ -113,6 +113,7 @@ func main() { ".gitattributes", ".github/**", ".gitignore", + ".jj/**", "VERSION.cache", "misc/cgo/*/_obj/**", "**/.DS_Store", diff --git a/src/cmd/distpack/test.go b/src/cmd/distpack/test.go index 7479bd77f5..7fd2dad57b 100644 --- a/src/cmd/distpack/test.go +++ b/src/cmd/distpack/test.go @@ -30,6 +30,7 @@ var srcRules = []testRule{ {name: "go/.git", exclude: true}, {name: "go/.gitattributes", exclude: true}, {name: "go/.github", exclude: true}, + {name: "go/.jj", exclude: true}, {name: "go/VERSION.cache", exclude: true}, {name: "go/bin/**", exclude: true}, {name: "go/pkg/**", exclude: true}, @@ -48,6 +49,7 @@ var zipRules = []testRule{ {name: "go/.git", exclude: true}, {name: "go/.gitattributes", exclude: true}, {name: "go/.github", exclude: true}, + {name: "go/.jj", exclude: true}, {name: "go/VERSION.cache", exclude: true}, {name: "go/bin", exclude: true}, {name: "go/pkg", exclude: true}, @@ -84,6 +86,7 @@ var modRules = []testRule{ {name: "golang.org/toolchain@*/.git", exclude: true}, {name: "golang.org/toolchain@*/.gitattributes", exclude: true}, {name: "golang.org/toolchain@*/.github", exclude: true}, + {name: "golang.org/toolchain@*/.jj", exclude: true}, {name: "golang.org/toolchain@*/VERSION.cache", exclude: true}, {name: "golang.org/toolchain@*/bin", exclude: true}, {name: "golang.org/toolchain@*/pkg", exclude: true},