mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-25 15:48:58 +00:00
The script assumed Git's traditional loose refs or packed-refs format. When cloning with extensions.refstorage=reftable, neither .git/refs/* nor .git/packed-refs exist, causing cmake configuration to fail. Fall back to git rev-parse when file-based ref lookup fails.