diff options
author | Rob Taylor <rob.taylor@codethink.co.uk> | 2012-01-19 15:13:13 +0000 |
---|---|---|
committer | Rob Taylor <rob.taylor@codethink.co.uk> | 2012-01-19 15:13:13 +0000 |
commit | 1b5502fbcd535821bab40d245d536c963c31cb6b (patch) | |
tree | 9bf129a2ce460178ad1b99508e6267b241983853 /tests/show-dependencies.setup | |
parent | 46e004983e5247809d285d41eada4a599a1357c5 (diff) | |
download | morph-1b5502fbcd535821bab40d245d536c963c31cb6b.tar.gz |
Make show-dependencies.setup always produce an identical git tree
Make sure author, comitter and dates are always the same so sha1s
will always be consistent.
Diffstat (limited to 'tests/show-dependencies.setup')
-rwxr-xr-x | tests/show-dependencies.setup | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/show-dependencies.setup b/tests/show-dependencies.setup index cbbbf369..0ba981f7 100755 --- a/tests/show-dependencies.setup +++ b/tests/show-dependencies.setup @@ -17,6 +17,17 @@ set -e +GIT_AUTHOR_NAME="An Author" +GIT_AUTHOR_EMAIL="an.author@test.org" +GIT_AUTHOR_DATE=2005-04-07T22:13:13 +GIT_COMMITTER_NAME="An Committer" +GIT_COMMITTER_EMAIL="a.committer@test.org" +GIT_COMMITTER_DATE=2005-04-07T22:13:13 + +export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE +export GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GIT_COMMITTER_DATE + + # Create a repository repo="$DATADIR/test-repo" mkdir "$repo" @@ -54,7 +65,7 @@ do EOF git add $component.morph done -git commit --quiet -m "add .c source file and GTK chunk morphologies" +git commit --quiet -m "add .c source file and GTK chunk morphologies" # Define a stratum for the GTK stack cat <<EOF > gtk-stack.morph |