templates / branches--on commit add reentrant variants of sha1_to_hex and find_unique_abbrev (af49c6d)
   1: this is just to ensure the directory exists.