Re: How do I .gitignore files starting with "#"?
- From
Bruce Korb <bruce.korb@gmail.com>
- Date
- Sep 10, 2010, 20:52 UTC
- Message-ID
- <AANLkTim4+_GWdnzEGsiqwbySN7uy+7MgwnCYXWiVgjqQ@mail.gmail.com>
- In-Reply-To
- <201009102156.31439.jnareb@gmail.com>
On Fri, Sep 10, 2010 at 12:56 PM, Jakub Narebski <jnareb@gmail.com> wrote:
> Jakub Narebski wrote: > >> Something like this?
> diff --git a/Documentation/gitignore.txt b/Documentation/gitignore.txt > index 7dc2e8b..20abc20 100644 > --- a/Documentation/gitignore.txt
I think the prototype for info/exclude is a good idea, too.
>> /etc/fstab requires \octal escapes, and not \xFF. > > They are not escapes, but quoting of metacharacters (special characters).
./# \# "#" \043 \x23 &35;
whatever you care to call it, however you spell it, the result is intended to be the same: This sequence of characters is to be interpreted as part of the token and not special annotation (or token separator) characters.
Anyway, thanks for fixing the doc. - Bruce