From 870e5ba5b29592dd1d55eb657673fdd475a18238 Mon Sep 17 00:00:00 2001 From: Simone Date: Sun, 3 May 2026 02:32:33 +0200 Subject: [PATCH] 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/. --- .gitignore | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitignore b/.gitignore index 24f240d..62e7e33 100644 --- a/.gitignore +++ b/.gitignore @@ -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