Re: [PATCH v2 4/4] stash: support filename argument

2017-02-05 Thread Thomas Gummerer
On 01/30, Junio C Hamano wrote: > Thomas Gummerer writes: > > > Add an optional filename argument to git stash push, which allows for > > stashing a single (or multiple) files. > > You can give pathspec with one or more elements, so "an optional > argument" sounds too limiting. > > Allow

Re: [PATCH v2 4/4] stash: support filename argument

2017-01-30 Thread Junio C Hamano
Thomas Gummerer writes: > Add an optional filename argument to git stash push, which allows for > stashing a single (or multiple) files. You can give pathspec with one or more elements, so "an optional argument" sounds too limiting. Allow 'git stash push' to take pathspec to specify which

[PATCH v2 4/4] stash: support filename argument

2017-01-29 Thread Thomas Gummerer
While working on a repository, it's often helpful to stash the changes of a single or multiple files, and leave others alone. Unfortunately git currently offers no such option. git stash -p can be used to work around this, but it's often impractical when there are a lot of changes over multiple f