templates / branches--on commit upload-pack: Move the revision walker into a separate function. (80ccaa7)
   1: this is just to ensure the directory exists.