Closed jesterKing closed 3 years ago
It seems this was caused in upstream git in commit a282f5a. A fix seems to be in the in the making.
It entered next
already as https://github.com/git/git/commit/30db18b148c4951deb2c870b5243fb5b18ecb5ed, which means that it is on track to be included in the next major version of Git.
@jesterKing feel free to install Git for Windows' SDK, then build an initial Git with sdk build git
, then sdk cd git
and cherry-pick this fix, then test, and open a PR.
(If this is too dense an explanation how to continue, please do not hesitate to ask for help.)
The fix made it into git v2.22.1 and newer, so I'll assume this is working now.
Setup
N/A
Details
Bash, CMD
Proper running of the
git clean -dxff
command for each submoduleError message
Happens with all repositories tested.
The command works with the form
git submodule foreach --recursive "git clean -dxff"
, but that seems to be an undocumented change from git version 2.21.0.windows.1, where the formgit submodule foreach --recursive git clean -dxff
still worked as expected.