templates / branches--on commit use xcalloc() to allocate zero-initialized memory (51a60f5)
   1: this is just to ensure the directory exists.