chore: ignore auto-generated bundle symlinks in .gitignore

setup_bundle_symlinks.py creates POSIX symlinks inside versions/*-bundle/
at build time on Linux. These must not be committed to git (they break
Windows clones) but were appearing as untracked (??) entries in git status.

Add precise gitignore patterns that cover all generated symlink paths
(C, Asm, CPP/*.mak, CPP/7zip/*.mak|.h|.rc, CPP/7zip/Archive|Common|...,
CPP/7zip/UI/Agent|Console|...) without hiding the tracked project-owned
sources in Bundles/Nsis7z/ and UI/NSIS/.
This commit is contained in:
2026-05-03 02:32:33 +02:00
parent 6f37d34920
commit 870e5ba5b2
+28
View File
@@ -65,3 +65,31 @@ tools/check_*.py
versions/*/CPP/7zip/*/Release/
versions/*/CPP/7zip/*/x64/
_linux_build/
# Symlinks auto-generated by tools/linux/setup_bundle_symlinks.py at build
# time (Linux-only, not committed to git; recreated on-the-fly as needed).
versions/*-bundle/C
versions/*-bundle/Asm
versions/*-bundle/CPP/Build.mak
versions/*-bundle/CPP/Common
versions/*-bundle/CPP/Windows
versions/*-bundle/CPP/build*.cmd
versions/*-bundle/CPP/build*.sh
versions/*-bundle/CPP/7zip/*.mak
versions/*-bundle/CPP/7zip/*.rc
versions/*-bundle/CPP/7zip/*.h
versions/*-bundle/CPP/7zip/*.txt
versions/*-bundle/CPP/7zip/makefile
versions/*-bundle/CPP/7zip/Archive
versions/*-bundle/CPP/7zip/Common
versions/*-bundle/CPP/7zip/Compress
versions/*-bundle/CPP/7zip/Crypto
versions/*-bundle/CPP/7zip/UI/Agent
versions/*-bundle/CPP/7zip/UI/Client7z
versions/*-bundle/CPP/7zip/UI/Common
versions/*-bundle/CPP/7zip/UI/Console
versions/*-bundle/CPP/7zip/UI/Explorer
versions/*-bundle/CPP/7zip/UI/Far
versions/*-bundle/CPP/7zip/UI/FileManager
versions/*-bundle/CPP/7zip/UI/GUI
versions/*-bundle/CPP/7zip/UI/makefile