]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
Update .gitignore and .hgignore files
authorChristian Brabandt <cb@256bit.org>
Wed, 22 Jul 2026 17:15:59 +0000 (17:15 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 22 Jul 2026 17:15:59 +0000 (17:15 +0000)
Ignore everything below auto/ except for configure

fixes: #20814

Signed-off-by: Christian Brabandt <cb@256bit.org>
.gitignore
.hgignore

index 12559ef20da070c3d0ccb071b0deed14184b9872..0f0a701c9f772c410133a4969e859d4d59c3d990 100644 (file)
@@ -1,4 +1,4 @@
-# Unixen: object and executable files.
+# Unix: object and executable files.
 *.o
 src/vim
 src/xxd/xxd
@@ -14,17 +14,8 @@ src/types.vim
 src/tmp_make
 
 # We do need src/auto/configure.
-src/auto/config.cache
-src/auto/config.h
-src/auto/config.log
-src/auto/config.mk
-src/auto/config.status
-src/auto/osdef.h
-src/auto/link.log
-src/auto/link.sed
-src/auto/pathdef.c
-src/auto/wayland/*.c
-src/auto/wayland/*.h
+src/auto/*
+!src/auto/configure
 
 # Windows
 *.exe
index 80e59634dbc78efa156257f2062b47c2011066f5..6bed3242e244e9a191eef257732a4c64da67d2aa 100644 (file)
--- a/.hgignore
+++ b/.hgignore
@@ -1,6 +1,10 @@
-syntax: glob
+# We do need src/auto/configure.
+# ignore everything except for auto/configure
+syntax: regexp
+^src/auto/(?!configure$)
 
-# Unixen: object and executable files.
+syntax: glob
+# Unix: object and executable files.
 *.o
 src/vim
 src/xxd/xxd
@@ -14,19 +18,6 @@ src/po/big5corr
 src/po/sjiscorr
 src/types.vim
 
-# We do need src/auto/configure.
-src/auto/config.cache
-src/auto/config.h
-src/auto/config.log
-src/auto/config.mk
-src/auto/config.status
-src/auto/osdef.h
-src/auto/link.log
-src/auto/link.sed
-src/auto/pathdef.c
-src/auto/wayland/*.c
-src/auto/wayland/*.h
-
 # Windows
 *.exe
 *.idb