templates / branches--on commit read-tree A B C: do not create a bogus index and do not segfault (aab3b9a)
   1: this is just to ensure the directory exists.