Re: How to rewrite author history

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Samuel Tardieu <sam@...>
Cc: <git@...>
Date: Saturday, March 22, 2008 - 9:11 am

Thanks.  Re-importing from SVN isn't an option any more, but I ended
up with something like this that seems to have worked.

git checkout master
git-filter-branch --env-filter '
if [ "$GIT_AUTHOR_NAME" = "andrewarnott" ];
then
export GIT_AUTHOR_EMAIL="andrewarnott@gmail.com"
export GIT_AUTHOR_NAME="Andrew Arnott"
fi
export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
'

And I did this for master, and my v1 and v0.1 branches.  I'm concerned
though, that since I changed the names of all the objects by doing
this, did I somehow make my branches incompatible with each other?
Will there be any problems in the future sharing commits or merging
across branches as a result?

Thanks.

On Sat, Mar 22, 2008 at 2:29 AM, Samuel Tardieu <sam@rfc1149.net> wrote:



-- 
Andrew Arnott
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: How to rewrite author history, Andrew Arnott, (Fri Mar 21, 12:41 pm)
Re: How to rewrite author history, Samuel Tardieu, (Sat Mar 22, 5:29 am)
Re: How to rewrite author history, Andrew Arnott, (Sat Mar 22, 9:11 am)
Re: How to rewrite author history, Jeff King, (Sat Mar 22, 12:57 pm)
Re: How to rewrite author history, Andrew Arnott, (Sat Mar 22, 3:06 pm)
Re: How to rewrite author history, Jeff King, (Sun Mar 23, 3:09 am)
Re: How to rewrite author history, Dmitry Potapov, (Fri Mar 21, 2:40 pm)