During the usage of git in Buildkite we noted that git fails upon calling git submodule foreach --recursive git reset --hardafter updating git version to 2.22.0. This is due to a problem with the recursive calling of git submodule--helper itself, which is fixed in the patch below. Morian Sonnet (1): submodule foreach: fix recursion of options builtin/submodule--helper.c | 1 + t/t7407-submodule-foreach.sh | 5 +++++ 2 files changed, 6 insertions(+) base-commit: b697d92f56511e804b8ba20ccbe7bdc85dc66810 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-263%2Fmomoson%2Fmaster-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-263/momoson/master-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/263 -- gitgitgadget