Closed Timi007 closed 10 months ago
I'll need more info, if you can replicate this with the project on a different machine / location
After some investigation I found out that it seems to not work with project initialized or cloned a long time ago. If I clone the projects where it did not work again, it works fine. Same for when I copy the project folder, delete the .git
folder and git init
again.
All my projects before March 2021 do not work. My projects after December 2021 seem to work.
Looking at the .git
folder, I do not find any differences between my old projects and newly setup ones.
It gets even weirder as I just found out. Simply copying the project directory with all files including the .git
folder fixes the issue. Copying with robocopy /E /DCOPY:DAT
also fixes it.
But the issue is still present when copying with robocopy /E /DCOPY:DATEX /copyall
and running hemtt
both as admin. Maybe it is related to some security setting.
I cannot reproduce this bug on a different machine. I suspect it has something to do with Windows security settings on Git files.
Copying or cloning the projects will fix this for me.
Versions: HEMTT:
1.10.2
Git:2.43.0.windows.1
The project is configured to include the Git commit hash in the version:
Running
hemtt build
orhemtt release
in a Git repository yields following error:Asking Git if the current folder is a repository returns: