I am tracking a project with git. There are some Xcode project files in the working copy that I want to keep tracking, but do not want to see in diffs, because there are alw
The problem is that /bin/true will return immediately without reading its input. git diff therefore thinks, quite reasonably, that it has died prematurely.
What you really want to do is to unset the diff attribute, not set it to a bogus command. Try this in your .gitattributes:
Project.xcodeproj/* -diff