Code

git send-email: ask less questions when --compose is used.
authorPierre Habouzit <madcoder@debian.org>
Mon, 10 Nov 2008 23:54:02 +0000 (00:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2008 04:31:29 +0000 (20:31 -0800)
commitbeece9dab8e26c98062351536ce0d871a066790e
tree61dd6f26aaa72815a5efedf74184feca31182e5f
parent8fd5bb7f44b7192a564ebe4f9db376af9fe148ec
git send-email: ask less questions when --compose is used.

When --compose is used, we can grab the From/Subject/In-Reply-To from the
edited summary, let it be so and don't ask the user silly questions.

The summary templates gets quite revamped, and includes the list of
patches subjects that are going to be sent with this batch.

When having a body full of empty lines, the summary isn't sent. Document
that in the git-send-email manpage fully.

Note: It doesn't deal with To/Cc/Bcc yet.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-send-email.txt
git-send-email.perl