Re: [PATCH 7/8] checkout: allow ignoring unmatched pathspec

2018-12-11 Thread Thomas Gummerer
On 12/10, Elijah Newren wrote: > On Sun, Dec 9, 2018 at 12:05 PM Thomas Gummerer wrote: > > > > Currently when 'git checkout -- ...' is invoked with > > multiple pathspecs, where one or more of the pathspecs don't match > > anything, checkout errors out. > > > > This can be inconvenient in some ca

Re: [PATCH 7/8] checkout: allow ignoring unmatched pathspec

2018-12-11 Thread Thomas Gummerer
On 12/10, Duy Nguyen wrote: > On Sun, Dec 9, 2018 at 9:05 PM Thomas Gummerer wrote: > > > > Currently when 'git checkout -- ...' is invoked with > > multiple pathspecs, where one or more of the pathspecs don't match > > anything, checkout errors out. > > > > This can be inconvenient in some cases,

Re: [PATCH 7/8] checkout: allow ignoring unmatched pathspec

2018-12-10 Thread Elijah Newren
On Sun, Dec 9, 2018 at 12:05 PM Thomas Gummerer wrote: > > Currently when 'git checkout -- ...' is invoked with > multiple pathspecs, where one or more of the pathspecs don't match > anything, checkout errors out. > > This can be inconvenient in some cases, such as when using git > checkout from a

Re: [PATCH 7/8] checkout: allow ignoring unmatched pathspec

2018-12-10 Thread Duy Nguyen
On Sun, Dec 9, 2018 at 9:05 PM Thomas Gummerer wrote: > > Currently when 'git checkout -- ...' is invoked with > multiple pathspecs, where one or more of the pathspecs don't match > anything, checkout errors out. > > This can be inconvenient in some cases, such as when using git > checkout from a

[PATCH 7/8] checkout: allow ignoring unmatched pathspec

2018-12-09 Thread Thomas Gummerer
Currently when 'git checkout -- ...' is invoked with multiple pathspecs, where one or more of the pathspecs don't match anything, checkout errors out. This can be inconvenient in some cases, such as when using git checkout from a script. Introduce a new --ignore-unmatched option, which which allo