Files
git/builtin
Felipe Contreras 80d35ca0aa format-patch: improve head calculation for cover-letter
If we do it after the revision traversal we can be sure that this is
indeed a commit that will be processed (i.e. not a merge) and it's the
top most one (thus removing the NEEDSWORK comment, at least we show the
same as 'git diff --stat' output that appears in the cover-letter).

While we are at it, since we know there's nothing to generate, exit
sooner in all cases, like --cover-letter currently does.

Also, if there's nothing to generate and cover-letter is specified, a
different code-path might be triggered that is not currently covered in
the test-case, so add a test for it.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-04-07 13:32:41 -07:00
..
2012-09-17 15:59:34 -07:00
2013-01-23 21:19:10 -08:00
2013-03-25 14:00:24 -07:00
2012-11-20 10:32:10 -08:00
2013-02-01 12:40:16 -08:00
2012-09-27 17:57:26 -07:00
2013-01-23 21:19:10 -08:00
2012-09-11 11:36:05 -07:00
2013-04-05 14:15:16 -07:00
2013-01-16 12:48:22 -08:00
2012-10-25 06:42:27 -04:00
2013-03-25 14:00:41 -07:00
2012-11-26 13:27:45 -08:00
2012-10-29 03:08:30 -04:00
2012-11-29 12:52:30 -08:00
2013-01-20 17:06:53 -08:00
2012-10-25 06:42:27 -04:00
2013-01-16 12:48:22 -08:00