Re: [PATCH] attr: allow pattern escape using backslashes

2013-02-27 Thread Duy Nguyen
On Sun, Feb 24, 2013 at 4:15 PM, Junio C Hamano gits...@pobox.com wrote: Speaking of .gitignore, I recall that there was a hanging discussion on allowing a pattern to name the directory that the .gitignore file appears in, which I do not think we currently support. With such a feature,

Re: [PATCH] attr: allow pattern escape using backslashes

2013-02-27 Thread Junio C Hamano
Duy Nguyen pclo...@gmail.com writes: On Sun, Feb 24, 2013 at 4:15 PM, Junio C Hamano gits...@pobox.com wrote: Speaking of .gitignore, I recall that there was a hanging discussion on allowing a pattern to name the directory that the .gitignore file appears in, which I do not think we currently

Re: [PATCH] attr: allow pattern escape using backslashes

2013-02-24 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy pclo...@gmail.com writes: Patterns in .gitattributes are separated by whitespaces, which makes it impossible to specify exact spaces in the pattern. '?' can be used as a workaround, but it matches other characters too. This patch makes a space following a backslash part