templates / branches--on commit builtin/apply: make parse_single_patch() return -1 on error (dae197f)
   1: this is just to ensure the directory exists.