Sync with Git 2.13.7
[gitweb.git] / git-stash.sh
index 5f09a47f0aa9abd85f1d4ed5a5892d23d0230aba..328cd80d83a03a674e0541bddb6bce0532c682b7 100755 (executable)
@@ -580,7 +580,7 @@ apply_stash () {
 
        if test -n "$u_tree"
        then
-               GIT_INDEX_FILE="$TMPindex" git-read-tree "$u_tree" &&
+               GIT_INDEX_FILE="$TMPindex" git read-tree "$u_tree" &&
                GIT_INDEX_FILE="$TMPindex" git checkout-index --all &&
                rm -f "$TMPindex" ||
                die "$(gettext "Could not restore untracked files from stash entry")"