Skip to content

Commit c6dc9a3

Browse files
dschoGit for Windows Build Agent
authored andcommitted
stash: avoid dashed invocation
The invocation of dashed Git commands was rightfully deprecated a long time ago. We failed to heed that deprecation ourselves, but it is never too late... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e2adf40 commit c6dc9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-stash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ apply_stash () {
502502

503503
if test -n "$u_tree"
504504
then
505-
GIT_INDEX_FILE="$TMPindex" git-read-tree "$u_tree" &&
505+
GIT_INDEX_FILE="$TMPindex" git read-tree "$u_tree" &&
506506
GIT_INDEX_FILE="$TMPindex" git checkout-index --all &&
507507
rm -f "$TMPindex" ||
508508
die "$(gettext "Could not restore untracked files from stash")"

0 commit comments

Comments
 (0)