summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2023-03-03 16:03:01 +0000
committerJunio C Hamano <gitster@pobox.com>2023-03-03 09:13:52 -0800
commit94c4289435605a9c39951ccebaf82f131e07c255 (patch)
tree2e8d86f11250688b184886839c924f93a8336722 /builtin/commit-tree.c
parentd15644fe0226af7ffc874572d968598564a230dd (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