templates / branches--on commit Better error message when we are unable to lock the index file (40aaae8)
   1: this is just to ensure the directory exists.