mirror of
https://github.com/Z3Prover/z3
synced 2026-06-08 12:59:34 +00:00
58f152a92a
reported by @nbraud reported in #1227. Previously the CMake build system assumed that the `.git` file must be a directory. This is not the case when the working directory is a "git worktree". In this case the `.git` file is just a plain file that points to a directory within the true `.git` directory. This commit essentially implements the logic to traverse this extra level of indirection and removes some assumptions that the `.git` file is a directory.