[BUG?] Spaces not allowed in directory names in .git/info/attributes
- From
Nathan Collins <nathan.collins@gmail.com>
- Date
- May 23, 2016, 19:06 UTC
- Message-ID
- <CAO8RVveOwrS6+pTnHY36d1Nk_B_VJD022W9i8STnNb-KyMkqNg@mail.gmail.com>
Example session:
$ git init test.git
Initialized empty Git repository in /tmp/test.git/.git/
$ cd test.git
$ mkdir "dir name"
$ touch dir\ name/file.txt
$ echo "dir\\ name/file.txt -text -whitespace" >> .git/info/attributes
$ git add dir\ name/file.txt
name/file.txt is not a valid attribute name: .git/info/attributes:1I'm using
$ git --version
git version 2.5.0Cheers,
-nathan