From 2ee403bab9d5694a49bfa6eb324ec5f53cdb8c59 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 6 May 2025 02:52:26 -0400 Subject: [PATCH] git: Update gitignore files We were overly matching in some cases by not starting with a slash. This updates a few other cases too. --- .gitignore | 16 ++++++++-------- engine/resources/http_ui/.gitignore | 2 +- lang/core/.gitignore | 2 +- lang/interpolate/.gitignore | 2 +- lang/parser/.gitignore | 6 +++--- test/.gitignore | 2 +- test/shell/.gitignore | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 509c6a02..125e0700 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/engine/resources/http_ui/.gitignore b/engine/resources/http_ui/.gitignore index f7aa9b7a..a759e6b7 100644 --- a/engine/resources/http_ui/.gitignore +++ b/engine/resources/http_ui/.gitignore @@ -1 +1 @@ -main.wasm +/main.wasm diff --git a/lang/core/.gitignore b/lang/core/.gitignore index ef73626c..d8e4aa80 100644 --- a/lang/core/.gitignore +++ b/lang/core/.gitignore @@ -1 +1 @@ -generated_funcs.go +/generated_funcs.go diff --git a/lang/interpolate/.gitignore b/lang/interpolate/.gitignore index 5a80a3ad..75cb91b8 100644 --- a/lang/interpolate/.gitignore +++ b/lang/interpolate/.gitignore @@ -1 +1 @@ -parse.generated.go +/parse.generated.go diff --git a/lang/parser/.gitignore b/lang/parser/.gitignore index f6e322fe..b1cf0d40 100644 --- a/lang/parser/.gitignore +++ b/lang/parser/.gitignore @@ -1,3 +1,3 @@ -lexer.nn.go -y.go -y.output +/lexer.nn.go +/y.go +/y.output diff --git a/test/.gitignore b/test/.gitignore index f9240613..9acaf843 100644 --- a/test/.gitignore +++ b/test/.gitignore @@ -1 +1 @@ -reflowed-comments +/reflowed-comments diff --git a/test/shell/.gitignore b/test/shell/.gitignore index 10a92cbb..7e3b98ec 100644 --- a/test/shell/.gitignore +++ b/test/shell/.gitignore @@ -1 +1 @@ -mgmt +/mgmt