templates / branches--on commit attr.c: read .gitattributes from index as well. (1a9d7e9)
   1: this is just to ensure the directory exists.