From 2f3c0f1f397c08bfc5ef73e7ff62794471b2b811 Mon Sep 17 00:00:00 2001 From: Maokaman1 Date: Tue, 28 Apr 2026 22:20:13 +0300 Subject: [PATCH] all: restore .gitignore rule for extensionless binaries (#27019) --- .gitignore | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index da1dcce96..4ba2fa57a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,9 @@ +# ignore sub-level extensionless build outputs +*/**/* +!*/ +!*.* + # ignore generated binaries and object files -# Do not add broad unignore rules like !*.*; they override local excludes. *.exe *.o *.so @@ -35,6 +39,9 @@ a.out fns.txt .noprefix.vrepl_temp.v +# Prefix local scratch/repro files with tmp. when they should stay untracked. +tmp.* + # ignore temp and cache directories temp/ tmp/ @@ -67,7 +74,6 @@ cache/ *~ ~* .sesskey -/tmp* *.db *.swp *.swo @@ -124,7 +130,6 @@ vls.log *.tmperr .vtmp_cov_*/ -*/**/tmp.* # ignore Intellij files .idea/ -- 2.39.5