templates / branches--on commit repack: rewrite the shell script in C (a1bbc6c)
   1: this is just to ensure the directory exists.