templates / branches--on commit cat-file: disable object/refname ambiguity check for batch mode (25fba78)
   1: this is just to ensure the directory exists.