mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 15:15:02 +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