diff options
author | Michael Forney <mforney@mforney.org> | 2017-08-04 23:49:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-07 12:04:45 -0700 |
commit | 974ce8078c9a91190d798eaa65c9f173dd50c3f8 (patch) | |
tree | 3ddccb020fb3ba10fbf1e55b1ebc9f2f6ff1b4bd /git-stash.sh | |
parent | 4384e3cde2ce8ecd194202e171ae16333d241326 (diff) | |
download | git-974ce8078c9a91190d798eaa65c9f173dd50c3f8.tar.gz |
scripts: use "git foo" not "git-foo"mf/no-dashed-subcommands
We want to make sure that people who copy & paste code would see
fewer instances of "git-foo". The use of these dashed forms have
been discouraged since v1.6.0 days.
Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-x | git-stash.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-stash.sh b/git-stash.sh index 9b6c2da7b4..9aa09c3a33 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -573,7 +573,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")" |