templates / branches--on commit rebase: consistent error messages for staged and unstaged changes. (4cfbe06)
   1: this is just to ensure the directory exists.