diff --git a/ofborg/test-srcs/make-maintainer-pr.sh b/ofborg/test-srcs/make-maintainer-pr.sh index b17a395..08433d9 100755 --- a/ofborg/test-srcs/make-maintainer-pr.sh +++ b/ofborg/test-srcs/make-maintainer-pr.sh @@ -4,19 +4,22 @@ set -eu bare=$1 co=$2 +export GIT_CONFIG_GLOBAL=/dev/null +export GIT_CONFIG_NOSYSTEM=1 + makepr() { git init --bare "$bare" git clone "$bare" "$co" cp -r maintainers/* "$co/" git -C "$co" add . - git -C "$co" commit --no-gpg-sign --author "GrahamCOfBorg " -m "initial repo commit" + git -C "$co" commit --author "GrahamCOfBorg " -m "initial repo commit" git -C "$co" push origin master cp maintainers-pr/* "$co/" git -C "$co" checkout -b my-cool-pr git -C "$co" add . - git -C "$co" commit --no-gpg-sign --author "GrahamCOfBorg " -m "check out this cool PR" + git -C "$co" commit --author "GrahamCOfBorg " -m "check out this cool PR" git -C "$co" push origin my-cool-pr:refs/pull/1/head } diff --git a/ofborg/test-srcs/make-pr.sh b/ofborg/test-srcs/make-pr.sh index 018c333..92e8ca7 100755 --- a/ofborg/test-srcs/make-pr.sh +++ b/ofborg/test-srcs/make-pr.sh @@ -4,19 +4,22 @@ set -eu bare=$1 co=$2 +export GIT_CONFIG_GLOBAL=/dev/null +export GIT_CONFIG_NOSYSTEM=1 + makepr() { git init --bare "$bare" git clone "$bare" "$co" cp build/* "$co/" git -C "$co" add . - git -C "$co" commit --no-gpg-sign --author "GrahamCOfBorg " -m "initial repo commit" + git -C "$co" commit --author "GrahamCOfBorg " -m "initial repo commit" git -C "$co" push origin master cp build-pr/* "$co/" git -C "$co" checkout -b my-cool-pr git -C "$co" add . - git -C "$co" commit --no-gpg-sign --author "GrahamCOfBorg " -m "check out this cool PR" + git -C "$co" commit --author "GrahamCOfBorg " -m "check out this cool PR" git -C "$co" push origin my-cool-pr:refs/pull/1/head }