templates / branches--on commit pack-objects: match prune logic for discarding objects (abcb865)
   1: this is just to ensure the directory exists.