]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-legacy-stash.sh
Merge tag 'l10n-2.24.0-rnd2' of https://github.com/git-l10n/git-po
[thirdparty/git.git] / git-legacy-stash.sh
index f60e9b3e877b24e42431654e1de19911bdfc4f25..07ad4a545910da5ff5a591c159da292d5101dec3 100755 (executable)
@@ -370,7 +370,7 @@ push_stash () {
                        git diff-index -p --cached --binary HEAD -- "$@" |
                        git apply --index -R
                else
-                       git reset --hard -q
+                       git reset --hard -q --no-recurse-submodules
                fi
 
                if test "$keep_index" = "t" && test -n "$i_tree"