Re: [PATCH 7/8] checkout: allow ignoring unmatched pathspec
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Dec 10, 2018, 16:51 UTC
- Message-ID
- <CACsJy8CjQHGANKf2Z=vJL=_ktoeXxOzQGL+VFJC4W63fzok78g@mail.gmail.com>
- In-Reply-To
- <20181209200449.16342-8-t.gummerer@gmail.com>
On Sun, Dec 9, 2018 at 9:05 PM Thomas Gummerer <t.gummerer@gmail.com> wrote:
Show 7 quoted lines
> > Currently when 'git checkout -- <pathspec>...' 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.
Wait, should scripts go with read-tree, checkout-index or other plumbing commands instead?
-- Duy