git: Update gitignore files

We were overly matching in some cases by not starting with a slash. This
updates a few other cases too.
This commit is contained in:
James Shubin
2025-05-06 02:52:26 -04:00
parent 0e34f13cce
commit 2ee403bab9
7 changed files with 16 additions and 16 deletions

16
.gitignore vendored
View File

@@ -5,18 +5,18 @@
.envrc
old/
tmp/
vendor/
/vendor/
*WIP
*_stringer.go
mgmt
mgmt.static
/mgmt
/mgmt.static
# crossbuild artifacts
build/mgmt-*
/build/mgmt-*
mgmt.iml
rpmbuild/
releases/
pprof/
sites/
/rpmbuild/
/releases/
/pprof/
/sites/
# vim swap files
.*.sw[op]
# prevent `echo foo 2>1` typo errors by making this file read-only

View File

@@ -1 +1 @@
main.wasm
/main.wasm

View File

@@ -1 +1 @@
generated_funcs.go
/generated_funcs.go

View File

@@ -1 +1 @@
parse.generated.go
/parse.generated.go

View File

@@ -1,3 +1,3 @@
lexer.nn.go
y.go
y.output
/lexer.nn.go
/y.go
/y.output

2
test/.gitignore vendored
View File

@@ -1 +1 @@
reflowed-comments
/reflowed-comments

View File

@@ -1 +1 @@
mgmt
/mgmt