From e64d033fb6de15fa0cfc30964ab93c435d442a8b Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 11 Nov 2021 15:05:26 -0800 Subject: [PATCH] Use environment variable for git committer in tests, too --- ofborg/test-srcs/make-maintainer-pr.sh | 2 ++ ofborg/test-srcs/make-pr.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ofborg/test-srcs/make-maintainer-pr.sh b/ofborg/test-srcs/make-maintainer-pr.sh index 78bd76c..940fa8c 100755 --- a/ofborg/test-srcs/make-maintainer-pr.sh +++ b/ofborg/test-srcs/make-maintainer-pr.sh @@ -8,6 +8,8 @@ export GIT_CONFIG_GLOBAL=/dev/null export GIT_CONFIG_NOSYSTEM=1 export GIT_AUTHOR_NAME="GrahamCOfBorg" export GIT_AUTHOR_EMAIL="graham+cofborg@example.com" +export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" +export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" makepr() { git init --bare "$bare" diff --git a/ofborg/test-srcs/make-pr.sh b/ofborg/test-srcs/make-pr.sh index cbe1fe1..2548fb6 100755 --- a/ofborg/test-srcs/make-pr.sh +++ b/ofborg/test-srcs/make-pr.sh @@ -8,6 +8,8 @@ export GIT_CONFIG_GLOBAL=/dev/null export GIT_CONFIG_NOSYSTEM=1 export GIT_AUTHOR_NAME="GrahamCOfBorg" export GIT_AUTHOR_EMAIL="graham+cofborg@example.com" +export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME" +export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL" makepr() { git init --bare "$bare"