Use environment variable for git committer in tests, too

This commit is contained in:
Cole Helbling 2021-11-11 15:05:26 -08:00
parent 4a56d518c9
commit e64d033fb6
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ export GIT_CONFIG_GLOBAL=/dev/null
export GIT_CONFIG_NOSYSTEM=1 export GIT_CONFIG_NOSYSTEM=1
export GIT_AUTHOR_NAME="GrahamCOfBorg" export GIT_AUTHOR_NAME="GrahamCOfBorg"
export GIT_AUTHOR_EMAIL="graham+cofborg@example.com" export GIT_AUTHOR_EMAIL="graham+cofborg@example.com"
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
makepr() { makepr() {
git init --bare "$bare" git init --bare "$bare"

View file

@ -8,6 +8,8 @@ export GIT_CONFIG_GLOBAL=/dev/null
export GIT_CONFIG_NOSYSTEM=1 export GIT_CONFIG_NOSYSTEM=1
export GIT_AUTHOR_NAME="GrahamCOfBorg" export GIT_AUTHOR_NAME="GrahamCOfBorg"
export GIT_AUTHOR_EMAIL="graham+cofborg@example.com" export GIT_AUTHOR_EMAIL="graham+cofborg@example.com"
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
makepr() { makepr() {
git init --bare "$bare" git init --bare "$bare"