Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stash: convert push to builtin
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index a9b3064ff00d2cabfa071c4204de0ad1bbf34703..51d7a06601afda9da6d1d8337e041ecd2530634c 100755
(executable)
--- 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\")")"
;;
*)