Thread (5 messages) flat view 5 messages, 2 authors, 2016-08-13

Re: [TopGit RFC PATCH] tg mail: new command for mailing patches

From: Bert Wesarg <hidden>
Date: 2016-06-15 22:45:22

On Fri, Sep 19, 2008 at 12:04, Kirill Smelkov [off-list ref] wrote:
On Fri, Sep 19, 2008 at 11:52:03AM +0200, Bert Wesarg wrote:
quoted
On Fri, Sep 19, 2008 at 11:08, Kirill Smelkov [off-list ref] wrote:
quoted
Petr, since you've asked for help on this, here you are:

   $ tg mail [NAME]

a simple script to send one patch over email.


All it does is

   - call `tg patch` for actual patch preparation
   - extract email addresses from whom and where to send a mail
That shouldn't be needed. git send-email parses Cc: headers and the
Exactly for this reason I do not extract Cc. And git send-mail does not
extract From: -- it just asks to confirm From is GIT_COMMITTER_IDENT,
and there is no option to stop it doing so except providing explicit
--from <someone> (maybe i'm missing something?).
Ahh, my fault, I should take a break, sorry for the noise.
quoted
To: comes from 'git config topgit.to', so you can re-use this.
Yes, it comes directly to .topmsg when `tg create` is done, so I thought
the main source of information is the patch itself -- users may want to
edit that To: by hand or add another To: lines.
Yeah, my fault, I noticed this too, its just a template. better to
extract it from the patch.
and what If a patch is already exported as a file, and I want to
send/resend it upstream right from that file?

We may want to look for topgit.to too though.

--
   Всего хорошего, Кирилл.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help