* git rebase fails with: Patch does not have a valid e-mail address.
@ 2011-09-08 11:47 James Blackburn
2011-09-08 17:15 ` Junio C Hamano
2011-09-09 4:45 ` Kyle Moffett
0 siblings, 2 replies; 4+ messages in thread
From: James Blackburn @ 2011-09-08 11:47 UTC (permalink / raw)
To: git
Hi,
I'm trying to rewrite some history and git's telling me:
-bash:jamesb:lc-cam-025:33079> git rebase
7f58969b933745d4cb9bb128bbd3fa8d441cdb92
First, rewinding head to replay your work on top of it...
Patch does not have a valid e-mail address.
Now it's true there isn't an email address for the author - the author
no longer works for the company, and the email address was removed
during the conversion. Therefore the repo contains "Author <>".
Given git doesn't ordinarily complain about this, should this prevent
rebase from working?
Cheers,
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git rebase fails with: Patch does not have a valid e-mail address.
2011-09-08 11:47 git rebase fails with: Patch does not have a valid e-mail address James Blackburn
@ 2011-09-08 17:15 ` Junio C Hamano
[not found] ` <CACyv8dc28sRWsObYi3vbFNakj=R-2Q9eAoJdFfqNxsqq2+_aPg@mail.gmail.com>
2011-09-09 4:45 ` Kyle Moffett
1 sibling, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2011-09-08 17:15 UTC (permalink / raw)
To: James Blackburn; +Cc: git
James Blackburn <jamesblackburn@gmail.com> writes:
> I'm trying to rewrite some history and git's telling me:
>
> -bash:jamesb:lc-cam-025:33079> git rebase
> 7f58969b933745d4cb9bb128bbd3fa8d441cdb92
> First, rewinding head to replay your work on top of it...
> Patch does not have a valid e-mail address.
>
> Now it's true there isn't an email address for the author - the author
> no longer works for the company, and the email address was removed
> during the conversion. Therefore the repo contains "Author <>".
>
> Given git doesn't ordinarily complain about this, should this prevent
> rebase from working?
Perhaps you used "filter-branch" for conversion and your "doesn't
ordinarily complain about this" refers to it? If so, I have to say that it
is filter-branch that needs to be fixed to error out.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: git rebase fails with: Patch does not have a valid e-mail address.
2011-09-08 11:47 git rebase fails with: Patch does not have a valid e-mail address James Blackburn
2011-09-08 17:15 ` Junio C Hamano
@ 2011-09-09 4:45 ` Kyle Moffett
1 sibling, 0 replies; 4+ messages in thread
From: Kyle Moffett @ 2011-09-09 4:45 UTC (permalink / raw)
To: James Blackburn; +Cc: git
On Thu, Sep 8, 2011 at 07:47, James Blackburn <jamesblackburn@gmail.com> wrote:
> I'm trying to rewrite some history and git's telling me:
>
> -bash:jamesb:lc-cam-025:33079> git rebase
> 7f58969b933745d4cb9bb128bbd3fa8d441cdb92
> First, rewinding head to replay your work on top of it...
> Patch does not have a valid e-mail address.
>
> Now it's true there isn't an email address for the author - the author
> no longer works for the company, and the email address was removed
> during the conversion. Therefore the repo contains "Author <>".
I can't really speak directly on the "rebase" issue, but...
You probably don't want to remove the email address from the repository
during a rewrite. When I was converting some old CVS repositories for
my company I very intentionally looked up all of our old user emails to
be able to convert them reliably (even though most of the addresses at
that point did not work). Even for the users where I could not find a
functional address I would just pick something reasonable based on the
username convention at the time.
In cases where you can't accurately attribute the commit (IE: username
of "root" or "cvs" or something), you probably want to rewrite it using an
internal mailing list address. For example, if the kernel had been in a
CVS repository with commits by "root", I would probably rewrite those
to be created by:
Linux Kernel Developers <lkml@vger.kernel.org>
Cheers,
Kyle Moffett
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-09 4:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-08 11:47 git rebase fails with: Patch does not have a valid e-mail address James Blackburn
2011-09-08 17:15 ` Junio C Hamano
[not found] ` <CACyv8dc28sRWsObYi3vbFNakj=R-2Q9eAoJdFfqNxsqq2+_aPg@mail.gmail.com>
2011-09-08 21:21 ` Junio C Hamano
2011-09-09 4:45 ` Kyle Moffett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox