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

2018-03-16 Thread Junio C Hamano
Thomas Gummerer writes: > @@ -322,9 +322,12 @@ push_stash () { > > if test $# != 0 > then > - git add -u -- "$@" | > - git checkout-index -z --force --stdin This obviously is not something this patch breaks, but I am finding t

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

2018-03-16 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