public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k•org>
To: Jakub Narebski <jnareb@gmail•com>
Cc: git@vger•kernel.org, Bruce Korb <bruce.korb@gmail•com>, avarab@gmail•com
Subject: Re: [PATCH] Document escaping of special characters in gitignore files
Date: Wed, 05 Jan 2011 16:53:06 +0100	[thread overview]
Message-ID: <m27hejtkil.fsf@igel.home> (raw)
In-Reply-To: <1294234732-20094-1-git-send-email-jnareb@gmail.com> (Jakub Narebski's message of "Wed, 5 Jan 2011 14:38:52 +0100")

Jakub Narebski <jnareb@gmail•com> writes:

> diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt
> index 7dc2e8b..20abc20 100644
> --- a/Documentation/gitignore.txt
> +++ b/Documentation/gitignore.txt
> @@ -68,6 +68,7 @@ Patterns have the following format:
>     for readability.
>  
>   - A line starting with # serves as a comment.
> +   Use `\#` for a literal # character starting filename.

Should this be written as `{backslash}#`?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k•org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2011-01-05 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-05 13:38 [PATCH] Document escaping of special characters in gitignore files Jakub Narebski
2011-01-05 15:53 ` Andreas Schwab [this message]
2011-01-05 18:42 ` Junio C Hamano
2011-01-05 19:27   ` Jakub Narebski
2011-01-05 19:38     ` Thomas Rast
2011-01-05 20:12     ` Bruce Korb
2011-01-05 20:37       ` Junio C Hamano
2011-01-05 21:02         ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27hejtkil.fsf@igel.home \
    --to=schwab@linux-m68k$(echo .)org \
    --cc=avarab@gmail$(echo .)com \
    --cc=bruce.korb@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=jnareb@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox