diff options
author | John Keeping <john@keeping.me.uk> | 2023-03-03 16:03:01 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-03-03 09:13:52 -0800 |
commit | 94c4289435605a9c39951ccebaf82f131e07c255 (patch) | |
tree | 2e8d86f11250688b184886839c924f93a8336722 /builtin/commit-tree.c | |
parent | d15644fe0226af7ffc874572d968598564a230dd (diff) |
format-patch: output header for empty commits
When formatting an empty commit, it is surprising that a totally empty
file is generated. Set the flag to always print the header, matching
the behaviour of git-log.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions