Re: .gitattributes escape character?
- From
Marc Strapetz <marc.strapetz@syntevo.com>
- Date
- Nov 3, 2010, 17:13 UTC
- Message-ID
- <4CD19821.2010103@syntevo.com>
- In-Reply-To
- <AANLkTinNctmWpshBeSTzZRm6+EJ=Cjdpoaj4Aon+52_b@mail.gmail.com>
Show 8 quoted lines
>> Is there an escape character which may be used in .gitattributes to >> escape e.g. the space-character? Could octal-escaping help here (I >> didn't succeed)? Thanks for any hints. > > You mean escape the path part in .gitattributes? Sorry, no. > > I think we can teach git about path quoting though. A leading double > quote means the path is quoted, C-style.
But this is not supposed to work already? At least, when quoting the whole path:
"/a file" -text
git check-attr tells me 'file" is not a valid attribute'.
Marc.