|
#!/bin/sh |
|
|
|
git filter-branch --env-filter ' |
|
|
|
an="$GIT_AUTHOR_NAME" |
|
am="$GIT_AUTHOR_EMAIL" |
|
cn="$GIT_COMMITTER_NAME" |
|
cm="$GIT_COMMITTER_EMAIL" |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "optigon@sourceforge.net" ] |
|
then |
|
am="optigon@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "antoneos@sourceforge.net" ] |
|
then |
|
am="antoneos@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "giniu@sourceforge.net" ] |
|
then |
|
am="giniu@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "dgud@sourceforge.net" ] |
|
then |
|
am="dgud@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "bjorng@sourceforge.net" ] |
|
then |
|
am="bjorng@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "bgustavsson@gmail.com" ] |
|
then |
|
am="bjorng@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_AUTHOR_EMAIL" = "bjorng@a0a82711-911a-0410-9f52-85ee3e23afd8" ] |
|
then |
|
an="Bjorn Gustavsson" |
|
am="<bjorng@users.sourceforge.net>" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "optigon@sourceforge.net" ] |
|
then |
|
cm="optigon@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "antoneos@sourceforge.net" ] |
|
then |
|
cm="antoneos@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "giniu@sourceforge.net" ] |
|
then |
|
cm="giniu@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "dgud@sourceforge.net" ] |
|
then |
|
cm="dgud@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "bjorng@sourceforge.net" ] |
|
then |
|
cm="bjorng@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "bgustavsson@gmail.com" ] |
|
then |
|
cm="bjorng@users.sourceforge.net" |
|
fi |
|
|
|
if [ "$GIT_COMMITTER_EMAIL" = "bjorng@a0a82711-911a-0410-9f52-85ee3e23afd8" ] |
|
then |
|
cn="Bjorn Gustavsson" |
|
cm="<bjorng@users.sourceforge.net>" |
|
fi |
|
|
|
export GIT_AUTHOR_NAME=$an |
|
export GIT_AUTHOR_EMAIL=$am |
|
export GIT_COMMITTER_NAME=$cn |
|
export GIT_COMMITTER_EMAIL=$cm |
|
' --tag-name-filter cat -- --all |
|
|