git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* I need a `git format-patch --attach-complete' for RT
@ 2010-04-21 12:22 Ævar Arnfjörð Bjarmason
  2010-04-29  7:25 ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-04-21 12:22 UTC (permalink / raw)
  To: Git Mailing List

I'm working with a system that doesn't play nice with git-format-patch
/ git-send-email. When you send mail to RT (e.g. http://rt.perl.org/)
it'll always munge the original E-Mail, so inline patches won't
work. Here's an example of this gone wrong:

    commit f9bcfeacc119e37fd70816a2cb4678fded53e8d1
    Author: Ãvar Arnfjörð Bjarmason) (via RT <perlbug-followup@perl.org>
    Date:   Tue Apr 20 10:58:37 2010 -0700

        GitHub's mirror is now at mirrors/perl, not github/perl

        # New Ticket Created by  (Ævar Arnfjörð Bjarmason)
        # Please include the string:  [perl #74532]
        # in the subject line of all future correspondence about this issue.
        # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74532 >
        From: Ævar Arnfjörð Bjarmason <avar@cpan.org>

The workaround is to:

    git format-patch --stdout origin.. > my-patches.patch
    *open your mail client*
    *attach patch as attachment*
    *send to RT*

It would be nicer if I could instead:

    git format-patch --attach-complete origin..
    git send-email *.patch

The --attach option doesn't work with RT because `git am' will take
the commit message from the Subject/body of the message. RT messes
with that.

Is there some existing workaround for this that I've missed?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-30 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 12:22 I need a `git format-patch --attach-complete' for RT Ævar Arnfjörð Bjarmason
2010-04-29  7:25 ` Paolo Bonzini
2010-04-29 10:16   ` Ævar Arnfjörð Bjarmason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).