git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Documentation/git-checkout.txt: Inconsistent naming of paths arguments

From
ABAdam Brengesjö <ca.brengesjo@gmail.com>
Date
Jul 19, 2013, 07:16 UTC
Message-ID
<CAJTcR-1RxLEaUe+c5yXEuKeC5Ert4FGm0=kUi7H-M-a+-Cp9-g@mail.gmail.com>
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.
Next: Duy Nguyen
Message 1 of 3 in “Documentation/git-checkout.txt: Inconsistent naming of paths arguments”
  1. Adam BrengesjöJul 19, 2013
  2. Duy NguyenJul 19, 2013
  3. Junio C HamanoJul 19, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.