]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-legacy-stash.sh
Merge branch 'jk/escaped-wildcard-dwim'
[thirdparty/git.git] / git-legacy-stash.sh
index 53fa5743018f19d8428f4a24379907bcbb6d80bf..4d4ebb4f2ba54e3061cc8ade350a9fb2d9421690 100755 (executable)
@@ -207,7 +207,7 @@ create_stash () {
 
                # find out what the user wants
                GIT_INDEX_FILE="$TMP-index" \
-                       git add--interactive --patch=stash -- "$@" &&
+                       git add --legacy-stash-p -- "$@" &&
 
                # state of the working tree
                w_tree=$(GIT_INDEX_FILE="$TMP-index" git write-tree) ||