templates / branches--on commit lock_ref_for_update(): don't re-read non-symbolic references (8169d0d)
   1: this is just to ensure the directory exists.