mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Use rev-parse to get the HEAD directory instead of manually looking for it. This method works in the main repository, worktrees and submodules. Closes https://github.com/espressif/esp-idf/issues/4136