From: Xavier Maillard <zedek@gnu.org>
To: git@vger.kernel.org
Subject: format-patch and send-email
Date: Sun, 18 Feb 2007 09:49:54 +0100 [thread overview]
Message-ID: <5680.1171788594@localhost> (raw)
Hi,
I tried to use format-patch and send-email but I think I am
misusing them because it does not react as I would expect.
First, here is how git log looks like on my little repository:
commit 50c7032fa011b1e5c7bd63e4bc474c802017677d
Author: Xavier Maillard <zedek@gnu.org>
Date: Fri Feb 16 20:20:18 2007 +0100
* Added 2007 to the copyright notice
* Added a note on relation between org-publish and blorg
* Changed/corrected things here and there
* Added a warning on needed skills before manipulating your own templates
commit 0e35f7847c7becc52ebcd51d9b043c626f9b3b3f
Author: Xavier Maillard <zedek@gnu.org>
Date: Fri Feb 16 20:03:42 2007 +0100
new file: doc/blorg.texi (original version)
Now I want to extract a patch and set it ready to be sent (I
added head -20 just to illustrate my problem):
git-format-patch --stdout -k 0e35f7847c7becc52ebcd51d9b043c626f9b3b3f | head -12
>From 50c7032fa011b1e5c7bd63e4bc474c802017677d Mon Sep 17 00:00:00 2001
From: Xavier Maillard <zedek@gnu.org>
Date: Fri, 16 Feb 2007 20:20:18 +0100
Subject: * Added 2007 to the copyright notice
To: <maillaxa@gmail.com>
* Added a note on relation between org-publish and blorg
* Changed/corrected things here and there
* Added a warning on needed skills before manipulating your own templates
---
doc/blorg.texi | 31 +++++++++++++++++++------------
1 files changed, 19 insertions(+), 12 deletions(-)
The "To" header has been set up in my .git/config file. But why
the 'Subject' is like this and also why are there 2 'From'
headers ?
Actually, why can't I just do like this ? :
git format-patch <origin> | git send-email ?
Thank you for your explanations.
Xavier
next reply other threads:[~2007-02-18 8:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-18 8:49 Xavier Maillard [this message]
2007-02-18 9:22 ` format-patch and send-email Junio C Hamano
2007-02-18 18:17 ` Xavier Maillard
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=5680.1171788594@localhost \
--to=zedek@gnu.org \
--cc=git@vger.kernel.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 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).