Re: [PATCH] add new options to git format-patch: --cover-subject and --cover-blurb
- From
Wesley J. Landaker <wjl@icecavern.net>
- Date
- Feb 5, 2010, 22:26 UTC
- Message-ID
- <201002051526.18205.wjl@icecavern.net>
- In-Reply-To
- <1265405973-5670-1-git-send-email-larry@elder-gods.org>
On Friday 05 February 2010 14:39:33 Larry D'Anna wrote:
Show 8 quoted lines
> This is useful because if you're preparing a patch series with a cover > letter you can easily put together one line to format and email the > whole thing to yourself. You check to make sure everything is right, > and then just change the recipient address and run it again. > > git send-email --to my@mydomain.org master..HEAD --cover-letter \ > --cover-subject "this is my patch series" --cover-blurb "$(cat > blurb.txt)"
One (minor?) issue is that the cover blub would be limited to the maximum allowed length of the command-line arguments set by the shell or OS. Since you are just catting a file, maybe "--cover-blub-file" would be better?
Just a thought.