Added -attributeWithName:path:.
Test it.
Actually assert.
Use GIT_ATTR_CHECK_FILE_THEN_INDEX.
Merge pull request #392 from libgit2/attributes

Attributes