Open Freymaurer opened 5 months ago
@eik-dahms @micwij
I would suggest to do this on start up. Check if windows -> check global config core.longpaths is set to true if not do ->
git config --global core.longpaths true
this should set the config globally for the current user. This should not require additional permissions and will be read by any git command executed by the current user.
this should be working without changing the windows settings, but should be tested anyways.
Alternatively:
this could be done in each repository separately. But this would be more complex and error prone.
there could also be a length limit on filenames, but that is rather impractical. especially if the filenames are generated external entities where you can not influence how things are named.
@kMutagene the mentioned "\?\" prefix is what git uses if you turn set the core.longpaths to true.
https://github.com/git/git/commit/0f634d0ca3ce9345affc6e817a8c057b60d87f0f
Just a reminder, that people (esp. on windows) keep running into this issue and the ARCitect cannot handle it.
git config --global core.longpaths true
. This worked for me.
Originally posted by @Freymaurer in #183