git diff --check in a bare repository

2015-10-06 Thread Andrei Neculau
Hello I am using "git diff --check" on the "server-side" (i.e. in a bare repository as part of a git hook) with a .gitattributes rule saying *.md text whitespace=-trailing-space # notice the - in front of trailing I can check that the attribute is set/read correctly thanks to another thread on t

git cherry-pick gives error: addinfo_cache failed for path

2015-11-18 Thread Andrei Neculau
UPDATE: The initial message (see below) got rejected because it wasn't text/plain, so meanwhile a few things happened. I was reading the manual pages of gitattributes and saw the note > When text=auto normalization is enabled in an existing repository, any text > files containing CRLFs should b