templates / branches--on commit refs.c: change resolve_ref_unsafe reading argument to be a flags field (7695d11)
   1: this is just to ensure the directory exists.