templates / branches--on commit Write diff output to a file in struct diff_options (c0c7773)
   1: this is just to ensure the directory exists.