templates / branches--on commit diff.c: buffer all output if asked to (e6e045f)
   1: this is just to ensure the directory exists.