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

Re: [PATCH v2] gitignore.txt: suggestions how to get literal # or ! at the beginning

From
Jeff King <peff@peff.net>
Date
Oct 6, 2012, 15:40 UTC
Message-ID
<20121006154036.GA14119@sigill.intra.peff.net>
In-Reply-To
<1349531484-5938-1-git-send-email-pclouds@gmail.com>
On Sat, Oct 06, 2012 at 08:51:24PM +0700, Nguyen Thai Ngoc Duy wrote:
Show 12 quoted lines
> We support backslash escape, but we hide the details behind the phrase
> "a shell glob suitable for consumption by fnmatch(3)". So it may not
> be obvious how one can get literal # or ! at the beginning of pattern.
> Add a few lines on how to work around the magic characters.
> 
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
>  On Sat, Oct 6, 2012 at 8:21 PM, Jeff King <peff@peff.net> wrote:
>  > It works fine for me with asciidoc 8.6.7. <sigh>
> 
>  8.6.5 works. I don't care deeply as I read .txt anyway. Here it goes
>  again with examples.

I'd be slightly worried that we are hurting other people who do care and are on older versions of asciidoc. It would be nice if we actually knew the cause of the different behaviors we saw and if there was a way to work around it (it might not even be old asciidoc, but rather old docbook).

Part of me wants to just take the change and see if anybody complains. But that is probably the wrong thing to do, and just my general frustration with our doc toolchain talking.

-Peff
Previous: Nguyễn Thái Ngọc DuyNext: Junio C Hamano
Message 6 of 8 in “gitignore.txt: suggestions how to get literal # or ! at the beginning”
  1. gitignore.txt: suggestions how to get literal # or ! at the beginningNguyễn Thái Ngọc Duy, Oct 6, 2012
  2. Philip OakleyOct 6, 2012
  3. Nguyen Thai Ngoc DuyOct 6, 2012
  4. Jeff KingOct 6, 2012
  5. gitignore.txt: suggestions how to get literal # or ! at the beginningNguyễn Thái Ngọc Duy, Oct 6, 2012
  6. Jeff KingOct 6, 2012
  7. Junio C HamanoOct 6, 2012
  8. gitignore.txt: suggestions how to get literal # or ! at the beginningNguyễn Thái Ngọc Duy, Oct 7, 2012

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.