templates / branches--on commit refs.c: don't expose the internal struct ref_lock in the header file (3581d79)
   1: this is just to ensure the directory exists.