templates / branches--on commit log-tree: always use return value of strbuf_detach() (82f51af)
   1: this is just to ensure the directory exists.