• Steve Azzopardi's avatar
    Wrap submodule command with a string · d1f3c193
    Steve Azzopardi authored
    Upgrading to Git 2.22, breaks the scenario when you have a Git
    repository with submodules and `GIT_SUBMODULE_STRATEGY` is set to
    `recursive`.
    
    The command `git submodule foreach --recursive git clean -ffxd` is build
    and this works fine in Git <2.21 but in Git 2.22 it fails with the
    following error `error: unknown switch `f'` the reason for this is
    because Git seems to be thinking that `-ffxd` is a flag for `git
    submodule` and not for `git clean`. Wrapping the commands with single
    quotes to fix this issue.
    d1f3c193
Name
Last commit
Last update
..
executor_shell.go Loading commit data...
executor_shell_terminal.go Loading commit data...
executor_shell_test.go Loading commit data...