Do not rely on systemwide git config
commit82aed7736aab0b5c8f0bccecc4c56a39d3bf85d9
authorAriel Nunez <ingenieroariel@gmail.com>
dateTue 7 Jan 2020, 15:58 (7 years ago)
parentf263743
lib/selftest/src/Obelisk/SelfTest.hs+6−2
@@ -54,11 +54,15 @@ doubleQuotes s = "\"" <> s <> "\""
5454
5555commit :: Text -> Sh ()
5656commit msg = void $ run "git"
57− [ "commit"
57+ [ "-c"
58+ , "user.name=Obelisk Selftest"
59+ , "-c"
60+ , "user.email=noreply@example.com"
61+ , "commit"
5862 , "--no-gpg-sign"
5963 , "--allow-empty"
6064 , "-m"
61− , doubleQuotes msg
65+ , msg
6266 ]
6367
6468-- TODO replace Void and stop using loosely typed synchronous exceptions