templates / branches--on commit update-ref.c: extract a new function, parse_next_sha1() (3afcc46)
   1: this is just to ensure the directory exists.