Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
files-backend: move "logs/" out of TMP_RENAMED_LOG
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index 2b74d733b1946b2738546bfcfc60e286f02e59be..9c70662cc81269316375c54cf45a9c838b384a85 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-656,12
+656,15
@@
apply_to_branch () {
}
}
+test "$1" = "-p" && set "push" "$@"
+
PARSE_CACHE='--not-parsed'
# The default command is "push" if nothing but options are given
seen_non_option=
for opt
do
case "$opt" in
+ --) break ;;
-*) ;;
*) seen_non_option=t; break ;;
esac