Browse files

Save the env-filter script in docs for now.

  • Loading branch information...
1 parent c06073d commit 744469ffd251b1ca47774831f984ac864c0bf7ef @mikeorr mikeorr committed Dec 27, 2011
Showing with 17 additions and 0 deletions.
  1. +17 −0 docs/my-env-filter.sh
View
17 docs/my-env-filter.sh
@@ -0,0 +1,17 @@
+an="$GIT_AUTHOR_NAME"
+am="$GIT_AUTHOR_EMAIL"
+cn="$GIT_COMMITTER_NAME"
+cm="$GIT_COMMITTER_EMAIL"
+
+if [ "$GIT_AUTHOR_NAME" = "sluggoster@gmail.com" ]
+then
+ cn="Mike Orr"
+ cm="sluggoster@gmail.com"
+ an="Mike Orr"
+ am="sluggoster@gmail.com"
+fi
+
+export GIT_AUTHOR_NAME="$an"
+export GIT_AUTHOR_EMAIL="$am"
+export GIT_COMMITTER_NAME="$cn"
+export GIT_COMMITTER_EMAIL="$cm"

0 comments on commit 744469f

Please sign in to comment.