path: root/notes.h
diff options
authorDenton Liu <>2019-05-16 23:14:14 (GMT)
committerJunio C Hamano <>2019-05-17 03:51:53 (GMT)
commit13cdf78094a5ba2968adb90707d27b98f53db1f7 (patch)
tree5660a5b958ffa2b15e75b1170840f22271540c79 /notes.h
parent83d9db7893e479a836b11e141c1717f0d5b829a0 (diff)
format-patch: teach format.notes config option
In git-format-patch, notes can be appended with the `--notes` option. However, this must be specified by the user on an invocation-by-invocation basis. If a user is not careful, it's possible that they may forget to include it and generate a patch series without notes. Teach git-format-patch the `format.notes` config option. Its value is a notes ref that will be automatically appended. The special value of "standard" can be used to specify the standard notes. This option is overridable with the `--no-notes` option in case a user wishes not to append notes. Signed-off-by: Denton Liu <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'notes.h')
0 files changed, 0 insertions, 0 deletions