Bug report: git grep seems to use the wrong .gitattributes when invoked in a subdirectory

2013-05-23 Thread Joel Kaasinen
Greetings, I bumped into a problem where git grep thinks files in repo/a/data are binary files when it is invoked from repo/a and repo/data/.gitattributes contains * binary. I can reproduce this on 1.7.9.5 and 1.7.10.4. Unfortunately I don't have a newer version at hand. How to reproduce:

Re: Bug report: git grep seems to use the wrong .gitattributes when invoked in a subdirectory

2013-05-23 Thread René Scharfe
Am 23.05.2013 14:44, schrieb Joel Kaasinen: [pseudo:~/tmp]% git --version git version 1.7.10.4 [pseudo:~/tmp]% git init git-test Initialized empty Git repository in/home/opqdonut/tmp/git-test/.git/ [pseudo:~/tmp]% cd git-test [pseudo:~/tmp/git-test:master()]% mkdir -p a/data