All of lore.kernel.org
 help / color / mirror / Atom feed
* Struggling with git (format-patch & send-email)
@ 2017-03-08 17:35 Prasant J
  2017-03-08 20:17 ` Greg KH
  2017-03-08 23:03 ` Jim Davis
  0 siblings, 2 replies; 5+ messages in thread
From: Prasant J @ 2017-03-08 17:35 UTC (permalink / raw)
  To: kernelnewbies

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.


* What am I doing wrong? Any inputs will be of help!
* How to add subject prefix? (subject-prefix of git format-patch is
not working as above)
* How to get 2 digit patch number? I'm getting PATCH 1/2 instead of PATCH 01/02


Awaiting help!

Thanks & regards, Pj

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

end of thread, other threads:[~2017-03-09  4:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-08 17:35 Struggling with git (format-patch & send-email) Prasant J
2017-03-08 20:17 ` Greg KH
2017-03-09  4:09   ` Prasant J
2017-03-08 23:03 ` Jim Davis
2017-03-09  4:12   ` Prasant J

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.