From c9078755fcb8bf1b661a7caac822dee03f1a0dbc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 5 May 2017 22:04:01 -0400 Subject: test: don't let `git commit` fail if user.{email,name} aren't configured --- test/gitget-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/gitget-test.sh b/test/gitget-test.sh index d14ce16..a5e9f2c 100644 --- a/test/gitget-test.sh +++ b/test/gitget-test.sh @@ -22,6 +22,8 @@ it_forces_url_for_bare() { mkdir "$tmpdir/src" cd "$tmpdir/src" git init . + git config --local user.email 'libretools-test@localhost' + git config --local user.name 'Test Suite' echo a > a git add . git commit -m 'initial commit' -- cgit v1.2.3-54-g00ecf