git/builtin
Jeff King a21c2f94fb format-patch: refactor get_patch_filename
The get_patch_filename function expects a commit argument
and uses it to get the sanitized subject line when making a
patch filename. However, we also want to use this same
function for the cover letter, which does not have a commit
object. The current solution is to create a fake commit with
the subject "cover letter". Instead, let's make the
get_patch_filename interface more flexibile, and allow
passing a direct subject.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-05-22 09:08:50 -07:00
..
2012-05-11 11:34:17 -07:00
2012-01-06 12:44:07 -08:00
2012-05-08 04:57:42 -04:00
2012-03-28 15:19:17 -07:00
2012-04-18 16:17:42 -07:00
2012-03-01 20:59:31 -08:00
2012-05-03 15:13:31 -07:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00
2011-12-28 11:32:36 -08:00
2011-12-22 11:27:26 -08:00
2011-03-22 10:16:54 -07:00
2011-03-22 10:16:54 -07:00
2012-05-02 13:51:24 -07:00
2011-03-22 11:43:27 -07:00
2011-03-22 10:16:54 -07:00
2012-05-02 13:51:35 -07:00
2012-04-30 14:58:01 -07:00
2011-03-09 23:52:56 -08:00
2011-05-31 12:19:11 -07:00
2012-04-27 09:26:39 -07:00
2011-03-22 10:16:54 -07:00
2011-08-25 14:42:11 -07:00
2011-03-22 10:16:54 -07:00