templates / branches--on commit diff -B -M: fix output for "copy and then rewrite" case (6936b58)
   1: this is just to ensure the directory exists.