templates / branches--on commit add: warn when -u or -A is used without pathspec (0fa2eb5)
   1: this is just to ensure the directory exists.