diff options
| author | Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com> | 2019-02-25 23:16:23 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-03-07 09:41:40 +0900 |
| commit | d553f538b8a788a4a285af2000edf3285694182e (patch) | |
| tree | bde0763022ef19694efe179b29ed0db181ca0a6d /git-stash.sh | |
| parent | d4788af875cc5c027c42b85435b022edb00b9fda (diff) | |
| download | git-d553f538b8a788a4a285af2000edf3285694182e.tar.xz | |
stash: convert push to builtin
Add stash push to the helper.
Signed-off-by: Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
| -rwxr-xr-x | git-stash.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/git-stash.sh b/git-stash.sh index a9b3064ff0..51d7a06601 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -429,7 +429,8 @@ save) ;; push) shift - push_stash "$@" + cd "$START_DIR" + git stash--helper push "$@" ;; apply) shift @@ -465,7 +466,8 @@ branch) *) case $# in 0) - push_stash && + cd "$START_DIR" + git stash--helper push && say "$(gettext "(To restore them type \"git stash apply\")")" ;; *) |
