attr.c: read .gitattributes from index as well.