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

Re: [RFD] Place to document magic pathspecs like ":/" and pathspec handling

From
Jakub Narębski <jnareb@gmail.com>
Date
Jun 29, 2016, 21:22 UTC
Message-ID
<57743BFB.9040709@gmail.com>
In-Reply-To
<CAPc5daVqjhWrJjNX6monHdMTRwimbjz==j9B2FS-nXNCqPDCYQ@mail.gmail.com>
W dniu 2016-06-29 o 21:51, Junio C Hamano pisze:
Show 8 quoted lines
> On Wed, Jun 29, 2016 at 12:47 PM, Jakub Narębski <jnareb@gmail.com> wrote:
>> I have noticed that the magic pathspec ":/" is described only in RelNotes
>> for revision 1.7.6:
>> |I think the reason might be that there was no good place to put that
>> information in.  Nowadays we have gitcli(7) manual page, but perhaps
> $ git help glossary
>
> look for pathspec.
Thanks. I haven't noticed that.

But I think it is not the best place to keep this documentation. There are the following issues with it:

* it is hard to find; I did not search _glossary_ for information
  about how Git handles pathspecs, I would search it if I didn't know
  what pathspec means.
* it is longest entry in glossary, and the only one with nested
  list, but
* it is also too short to describe how Git handles pathspecs in detail,
  and a bit cryptic; there are no examples (so grepping docs for '":/"'
  didn't found it).
-- 
Jakub Narębski
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 8 in “[RFD] Place to document magic pathspecs like ":/" and pathspec handling”
  1. Jakub NarębskiJun 29, 2016
  2. Junio C HamanoJun 29, 2016
  3. Jakub NarębskiJun 29, 2016
  4. Junio C HamanoJun 29, 2016
  5. Jakub NarębskiJun 30, 2016
  6. Duy NguyenJun 30, 2016
  7. Jeff KingJul 1, 2016
  8. Jakub NarębskiJul 1, 2016

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.