esp and git 2.44
Posted: Wed Mar 13, 2024 8:21 pm
FYI
There appears to be an issue in using git 2.44 with esp 5.1.3. I know the recommended version is 2.21 but up until now I've not had any issue with later versions.
Other software I install often updates git to a newer version.
Sometime between installing the esp-idf as per instruction, which worked first time on a W11 laptop, git got updated to 2.44. This morning when attempting to compile, not only did it fail but the folder that gets created in the process was two levels higher than the project....
This is an excert of the message:-
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.44.0.windows.1")
-- git describe returned 'fatal: bad object HEAD
fatal: 'git status --porcelain=2' failed in submodule vendor/c_exception
fatal: 'git status --porcelain=2' failed in submodule components/cmock/CMock'
Not really sure what went wrong but uninstalling esp and git, deleting all associated folders, runing a registry cleaner, restarting etc then reinstalliing the esp as per the instructions got me working again (on another machine I'm using git 2.39 without issue, well so far).
Regards
There appears to be an issue in using git 2.44 with esp 5.1.3. I know the recommended version is 2.21 but up until now I've not had any issue with later versions.
Other software I install often updates git to a newer version.
Sometime between installing the esp-idf as per instruction, which worked first time on a W11 laptop, git got updated to 2.44. This morning when attempting to compile, not only did it fail but the folder that gets created in the process was two levels higher than the project....
This is an excert of the message:-
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.44.0.windows.1")
-- git describe returned 'fatal: bad object HEAD
fatal: 'git status --porcelain=2' failed in submodule vendor/c_exception
fatal: 'git status --porcelain=2' failed in submodule components/cmock/CMock'
Not really sure what went wrong but uninstalling esp and git, deleting all associated folders, runing a registry cleaner, restarting etc then reinstalliing the esp as per the instructions got me working again (on another machine I'm using git 2.39 without issue, well so far).
Regards