Re: [PATCH 2/3] stash: introduce push verb

2017-01-29 Thread Thomas Gummerer
On 01/23, Junio C Hamano wrote: > Thomas Gummerer writes: > > > + stash_msg="$*" > > + > > + if test -z stash_msg > > A dollar-sign is missing here, I think. Yes, thanks. > > + then > > + push_stash $push_options > > + else > > + push_stash

Re: [PATCH 2/3] stash: introduce push verb

2017-01-23 Thread Junio C Hamano
Thomas Gummerer writes: > + stash_msg="$*" > + > + if test -z stash_msg A dollar-sign is missing here, I think. > + then > + push_stash $push_options > + else > + push_stash $push_options -m "$stash_msg" > + fi > +}

[PATCH 2/3] stash: introduce push verb

2017-01-21 Thread Thomas Gummerer
Introduce a new git stash push verb in addition to git stash save. The push verb is used to transition from the current command line arguments to a more conventional way, in which the message is specified after a -m parameter instead of being a positional argument. This allows introducing a new