mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-01 06:27:29 +00: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