git 1.8.5 changed the syntax for git diff-index --diff-filter