aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Backend.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Backend.hs b/app/Backend.hs
index af6cebd..a3c1ee8 100644
--- a/app/Backend.hs
+++ b/app/Backend.hs
@@ -168,8 +168,8 @@ data Author = Author
getCommitOf :: CommitHash -> IO Commit
getCommitOf commitHash@WorkingTree = do
date <- maybe getCurrentTime (pure . read) =<< lookupEnv "FAKETIME"
- authorName <- sh "git config user.name"
- authorEmail <- sh "git config user.email"
+ authorName <- T.strip <$> sh "git config user.name"
+ authorEmail <- T.strip <$> sh "git config user.email"
pure
Commit'
{ author = Author authorName authorEmail,