Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re : 2 questions on git-send-email usage

From: moreau francis <hidden>
Date: 2016-06-15 22:42:33

moreau francis wrote:
(please let me CCed when replying)
 
 2006/7/10, Jakub Narebski [off-list ref]:
 > moreau francis wrote:
 > 
 > > I'm wondering what am I supposed to answer when git-send-email
 > > is asking me :
 > >
 > > Message-ID to be used as In-Reply-To for the first email?
 > >
 > > I'm running this command:
 > >
 > > $ git-send-email --no-signed-off-by-cc --no-chain-reply-to --to \
 > >   foo@bar.com --compose /tmp/patch/
 > >
 > > to write an introductory message, and all patches are sent as replies to
 > > this introductory email sent.
 > 
 > Empty string (i.e. RET) should do if you don't want to attach your series of
 > patches somewhere in existing thread.
 
 ok I'll try
 
 --in-reply-to ""
ok it works. But wouldn't it make more sense to have by default --in-reply-to ""
when --compose is set ? That would mean "by default all patches are sent
as replies to the email I'm composing" which is usely what happens, no ?
 
 > 
 > > I also noticed that git-send-email removes the commit message of each
 > > patches I sent, I don't think this is the normal behaviour though. What
 > > am I missing ?
 > 
 > Are patches formatted using git-format-patch?
 > 
 
 yes
 
I think I have found out a clue. The commit message and Signed-off-by are
missing because the header patches are formatted like this:
From 90df31ca209f85108976d18916f33f352a6ef340 Mon Sep 17 00:00:00 2001
From: Francis <redacted>
Date: Thu, 8 Jun 2006 09:51:12 +0200
Subject: [PATCH 3/4] step #3: interrupt implementation
(cherry picked from 427778e2e622cdefa2c834edcc19bf102a35bc2d commit)
(cherry picked from fe4692336801fcbb42bb734bb6b6f9c041d63087 commit)
Signed-off-by: Francis <redacted>
---

2 RETs is missing. One after the Subject line and the other before the 
Signed-off-by line. If I add the first missing RET, all works fine.  I guess
it's missing because of git-cherry-pick command. But I don't understand
why the last RET is missing

Can anybody tell me why ?

Thanks

Francis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help