]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-legacy-stash.sh
Merge branch 'js/update-index-ignore-removal-for-skip-worktree'
[thirdparty/git.git] / git-legacy-stash.sh
index 5398a5161d253e7ba0a70a76d46fadc4d702ce8d..53fa5743018f19d8428f4a24379907bcbb6d80bf 100755 (executable)
@@ -371,7 +371,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"