All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Struggling with git (format-patch & send-email)
Date: Wed, 8 Mar 2017 21:17:59 +0100	[thread overview]
Message-ID: <20170308201759.GA16763@kroah.com> (raw)
In-Reply-To: <CAA2DH4vCJ819NK9aHmfzz2q2wiasvrZuWTvZV0SvWYd93TaJeg@mail.gmail.com>

On Wed, Mar 08, 2017 at 11:05:35PM +0530, Prasant J wrote:
> Hi,
> 
> I want to send my 2 commits as patches in chain reply to my first
> email. My first email will have multiple files as attachment. How can
> I achieve it?
> 
> first email subject: [mystring] Feature 01
> patch 01:                  |_ [mystring] [PATCH 01/02] My commit msg 1
> patch 02:                    |_ [mystring] [PATCH 02/02] My commit msg 2
> 
> 
> My git send-email is working, but I want to achieve the above desired
> outcome which I'm unable to.
> 
> I have tried so many combinations of git format-patch and send-email
> over the past days but I'm unable to get the above outcome.
> 
> One combination that was close to working:
> => git format-patch -2 --numbered --start-number 01 -o patch-dir --thread
> => git send-email --in-reply-to="Message-Id" --to user at gmail.com
> --chain-reply-to --suppress-cc=self patch-dir/*
> 
> I'm trying to see the desired effect in my web gmail, but I do not see.

gmail does not show threading like this, you are going to have to use
another mail client that will show the threading properly, to be able to
see if you did it correctly or not.

good luck!

greg k-h

  reply	other threads:[~2017-03-08 20:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08 17:35 Struggling with git (format-patch & send-email) Prasant J
2017-03-08 20:17 ` Greg KH [this message]
2017-03-09  4:09   ` Prasant J
2017-03-08 23:03 ` Jim Davis
2017-03-09  4:12   ` Prasant J

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170308201759.GA16763@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.