You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you expect to occur after running these commands?
Proper running of the git clean -dxff command for each submodule
What actually happened instead?
Error message
$ git submodule foreach --recursive git clean -dxff
Entering 'src/lib/opennurbs'
error: unknown switch `d'
usage: git submodule--helper foreach [--quiet] [--recursive] [--] <command>
-q, --quiet Suppress output of entering each submodule command
--recursive Recurse into nested submodules
fatal: run_command returned non-zero status while recursing in the nested submodules of src/lib/opennurbs
.
If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?
Happens with all repositories tested.
Additional note
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 form git submodule foreach --recursive git clean -dxff still worked as expected.
The text was updated successfully, but these errors were encountered:
It entered next already as git@30db18b, 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.)
Setup
defaults?
to the issue you're seeing?
N/A
Details
Bash, CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Proper running of the
git clean -dxff
command for each submoduleError message
URL to that repository to help us with testing?
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.The text was updated successfully, but these errors were encountered: