From: Jonathan Nieder <jrnieder@gmail.com>
To: Daniel F <nanotube@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git am mangles commit author name.
Date: Tue, 13 Jul 2010 00:49:49 -0500 [thread overview]
Message-ID: <20100713054949.GB2425@burratino> (raw)
In-Reply-To: <AANLkTinqTL7gH4CHEfy8UrhK13xcO_3UzgIyQka00MAh@mail.gmail.com>
Hi Daniel,
Daniel F wrote:
> The file contains the line (along with the rest of the patch, of course):
> From: username <emailaddress>
>
> So I do the following:
> git am --signoff < patchfile.patch
> It applies just fine, but the commit author shows in in git log as:
> emailaddress <emailaddress>
> (i.e., the username is nowhere to be seen)
Because I am lazy I tried with the latest 1.7.2 release candidate.
Here is what I did:
$ git fetch git://repo.or.cz/git/jrn.git rr/svn-fe
$ git checkout FETCH_HEAD
$ git format-patch HEAD^..HEAD
$ git reset --keep HEAD^
$ git am --signoff <0001-*
The commit author showed up with name and email address as I expected.
What did I do wrong?
Alternatively: could you send the first few lines of your .patch file?
Thanks,
Jonathan
next prev parent reply other threads:[~2010-07-13 5:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 3:53 git am mangles commit author name Daniel F
2010-07-13 5:49 ` Jonathan Nieder [this message]
2010-07-13 14:54 ` Daniel F
2010-07-13 15:11 ` Jay Soffian
2010-07-13 15:48 ` Daniel F
2010-07-13 22:16 ` Ævar Arnfjörð Bjarmason
2010-07-14 14:16 ` Tor Arntsen
2010-07-14 14:31 ` Ævar Arnfjörð Bjarmason
2010-07-16 14:18 ` Daniel F
2010-07-16 19:19 ` Jonathan Nieder
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=20100713054949.GB2425@burratino \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=nanotube@gmail.com \
/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).