Re: [PATCH v2 1/2] stash push: avoid printing errors

2018-03-16 Thread Thomas Gummerer
On 03/15, Marc Strapetz wrote: > On 14.03.2018 22:46, Thomas Gummerer wrote: > >Currently 'git stash push -u -- ' prints the following errors > >if only matches untracked files: > > > > fatal: pathspec 'untracked' did not match any files > > error: unrecognized input > > > >This is because

Re: [PATCH v2 1/2] stash push: avoid printing errors

2018-03-15 Thread Marc Strapetz
On 14.03.2018 22:46, Thomas Gummerer wrote: Currently 'git stash push -u -- ' prints the following errors if only matches untracked files: fatal: pathspec 'untracked' did not match any files error: unrecognized input This is because we first clean up the untracked files using 'git cl

[PATCH v2 1/2] stash push: avoid printing errors

2018-03-14 Thread Thomas Gummerer
Currently 'git stash push -u -- ' prints the following errors if only matches untracked files: fatal: pathspec 'untracked' did not match any files error: unrecognized input This is because we first clean up the untracked files using 'git clean ', and then use a command chain involving 'g