espressif / idf-env

idf-env tool helps set up and manage ESP-IDF installations
29 stars 4 forks source link

Git path is not updated and verified during adding 2+ IDF #24

Open georgik opened 3 years ago

georgik commented 3 years ago

The git path is stored to JSON file in idf-env config command only during the first installation. When user move tools to other location and runs the installer then the path is the same which may result in problem with starting terminal, because git binary was not found.

Expected behaviour: idf-env config will update JSON file and check whether git exists.

If no git was detected on the defined path, it might be worthy to consider adding git from System PATH.