X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=git-legacy-stash.sh;h=07ad4a545910da5ff5a591c159da292d5101dec3;hp=f60e9b3e877b24e42431654e1de19911bdfc4f25;hb=93bf7423dd21c9d7bf2fd99c97cbfcb74740eac3;hpb=0726f13074c1c93cdedd8a9f6a10b579fd6ecba6 diff --git a/git-legacy-stash.sh b/git-legacy-stash.sh index f60e9b3e87..07ad4a5459 100755 --- a/git-legacy-stash.sh +++ b/git-legacy-stash.sh @@ -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"