From: "J. Bruce Fields" <bfields@fieldses.org>
To: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Cc: git@vger.kernel.org
Subject: Re: modifying commit's author
Date: Mon, 22 Jan 2007 16:04:00 -0500 [thread overview]
Message-ID: <20070122210400.GB6614@fieldses.org> (raw)
In-Reply-To: <200701222150.16465.robin.rosenberg.lists@dewire.com>
On Mon, Jan 22, 2007 at 09:50:16PM +0100, Robin Rosenberg wrote:
> måndag 22 januari 2007 21:37 skrev J. Bruce Fields:
> > If I got the author wrong on a commit, is there a quick way to fix it
> > (e.g. by passing the right arguments or environment variables to commit
> > --amend)?
>
> Set these:
> GIT_AUTHOR_EMAIL
> GIT_AUTHOR_NAME
> GIT_COMMITTER_EMAIL
> GIT_COMMITTER_NAME
That doesn't seem to work in this case, since with the commands that
take an existing commit as a model (like commit --amend and commit -c),
the author information from the existing commit overrides those
environment variables. Which is normally what you want.
--b.
next prev parent reply other threads:[~2007-01-22 21:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-22 20:37 modifying commit's author J. Bruce Fields
2007-01-22 20:48 ` Junio C Hamano
2007-01-22 21:02 ` J. Bruce Fields
2007-01-22 21:03 ` Junio C Hamano
2007-01-22 20:50 ` Robin Rosenberg
2007-01-22 21:04 ` J. Bruce Fields [this message]
2007-01-23 7:38 ` Johannes Sixt
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=20070122210400.GB6614@fieldses.org \
--to=bfields@fieldses.org \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg.lists@dewire.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).