templates / branches--on commit rebase -i: don't error out if $state_dir already exists (1224f3d)
   1: this is just to ensure the directory exists.