templates / remotes--on commit ref-log: allow ref@{count} syntax. (ab2a1a3)
   1: this is just to ensure the directory exists.