Re: [PATCH v2 3/4] introduce new format for git stash create

2017-02-04 Thread Thomas Gummerer
On 01/30, Junio C Hamano wrote: > Thomas Gummerer writes: > > > create_stash () { > > - stash_msg="$1" > > - untracked="$2" > > + stash_msg= > > + untracked= > > + new_style= > > ... > > + while test $# != 0 > > + do > > + case "$1" in > > +

Re: [PATCH v2 3/4] introduce new format for git stash create

2017-01-30 Thread Junio C Hamano
Thomas Gummerer writes: > create_stash () { > - stash_msg="$1" > - untracked="$2" > + stash_msg= > + untracked= > + new_style= > ... > + while test $# != 0 > + do > + case "$1" in > + -m|--message) > +

[PATCH v2 3/4] introduce new format for git stash create

2017-01-29 Thread Thomas Gummerer
git stash create currently supports a positional argument for adding a message. This is not quite in line with how git commands usually take comments (using a -m flag). Add a new syntax for adding a message to git stash create using a -m flag. This is with the goal of deprecating the old style