timocratic (owner)

Revisions

gist: 199332 Download_button fork
public
Public Clone URL: git://gist.github.com/199332.git
Embed All Files: show embed
redo_svn_commits_to_git.sh #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
git filter-branch -f --env-filter '
ae=$GIT_AUTHOR_EMAIL
an=$GIT_AUTHOR_NAME
 
case $GIT_AUTHOR_NAME in
tconnor)
ae="tim.connor@yieldbuild.com"
an="Tim Connor"
;;
other)
ae="other.person@yieldbuild.com"
an="Other Person"
;;
esac
 
export GIT_AUTHOR_EMAIL=$ae
export GIT_AUTHOR_NAME=$an
export GIT_COMMITTER_EMAIL=$ae
export GIT_COMMITTER_NAME=$an
'