]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/stash.c
Merge branch 'jj/stash-reset-only-toplevel'
[thirdparty/git.git] / builtin / stash.c
index bb4f6d8d762d833e6cc15accf70f2680dd7af721..4e806176b0828b65cf405492ca2cd2d157e3fc4a 100644 (file)
@@ -1392,7 +1392,7 @@ static int do_push_stash(const struct pathspec *ps, const char *stash_msg, int q
                        struct child_process cp = CHILD_PROCESS_INIT;
                        cp.git_cmd = 1;
                        argv_array_pushl(&cp.args, "reset", "--hard", "-q",
-                                        NULL);
+                                        "--no-recurse-submodules", NULL);
                        if (run_command(&cp)) {
                                ret = -1;
                                goto done;