git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re : 2 questions on git-send-email usage

From
MFmoreau francis <francis_moreau2000@yahoo.fr>
Date
Jul 11, 2006, 08:46 UTC
Message-ID
<20060711084635.81393.qmail@web25809.mail.ukl.yahoo.com>
moreau francis wrote:
Show 24 quoted lines
> (please let me CCed when replying)
>  
>  2006/7/10, Jakub Narebski <jnareb@gmail.com>:
>  > 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 ?

Show 11 quoted lines
>  
>  > 
>  > > 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 <francis.moreau2000@yahoo.fr>
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 <francis_moreau2000@yahoo.fr>
---

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
Next: Franck Bui-Huu
Message 1 of 10 in “Re : 2 questions on git-send-email usage”
  1. moreau francisJul 11, 2006
  2. Franck Bui-HuuJul 11, 2006
  3. Junio C HamanoJul 11, 2006
  4. Franck Bui-HuuJul 12, 2006
  5. Linus TorvaldsJul 12, 2006
  6. Junio C HamanoJul 12, 2006
  7. Junio C HamanoJul 12, 2006
  8. Linus TorvaldsJul 12, 2006
  9. Junio C HamanoJul 13, 2006
  10. Linus TorvaldsJul 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.