Code

format-patch: use branch description in cover letter
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Sep 2011 03:32:28 +0000 (20:32 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2011 21:50:46 +0000 (14:50 -0700)
commit739453a3fb74ade725243ac972f02ba1aedabdf6
treeed9fed7f12e5771dab6dee919df4872a2362bd3a
parent6f9a332144cda5f4d7e6e03c37fb17f8ffac1fe3
format-patch: use branch description in cover letter

Use the description for the branch when preparing the cover letter
when available.

While at it, mark a loosely written codepath that would do a random and
useless thing given an unusual input (e.g. "^master HEAD HEAD^"), which
we may want to fix someday.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c