Re: Documentation/git-checkout.txt: Inconsistent naming of paths arguments
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jul 19, 2013, 07:40 UTC
- Message-ID
- <CACsJy8DdVxwsf5xyDSDCe97kTPGdjvwQcMEPRNCCGXjF1z4eyw@mail.gmail.com>
- In-Reply-To
- <CAJTcR-1RxLEaUe+c5yXEuKeC5Ert4FGm0=kUi7H-M-a+-Cp9-g@mail.gmail.com>
On Fri, Jul 19, 2013 at 2:16 PM, Adam Brengesjö <ca.brengesjo@gmail.com> wrote:
Show 17 quoted lines
> From SYNOPSIS: > > git checkout [-p|--patch] [<tree-ish>] [--] [<paths>…] > > > From DESCRIPTION > > git checkout [-p|--patch] [<tree-ish>] [--] <pathspec>… > > > > 1. Named <paths> in SYNOPSIS, but <pathspec> in DESCRIPTION. (It's > referred to as <path> in the body text). > > 2. <paths> is marked as optional in SYNOPSIS, but <pathspec> is not. > > I'm not submitting a patch now, as I'm not sure which is correct.
If I'm not mistaken, "git checkout" takes pathspec in all cases. -- Duy