mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-05 12:46:35 +03: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