]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-format-patch.txt
format-patch: add --description-file option
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Mon, 21 Aug 2023 17:07:20 +0000 (19:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Aug 2023 22:03:47 +0000 (15:03 -0700)
commit67f4b36e339d91c06ff9cdc254864c830158e10f
tree9669710eb67178297355fdacfa2b016e2309797a
parentfac96dfbb1c24369ba7d37a5affd8adfe6c650fd
format-patch: add --description-file option

This patch makes it possible to directly feed a branch description to
derive the cover letter from. The use case is formatting dynamically
created temporary commits which are not referenced anywhere.

The most obvious alternative would be creating a temporary branch and
setting a description on it, but that doesn't seem particularly elegant.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-format-patch.txt
builtin/log.c
t/t4014-format-patch.sh