diff options
| author | Herbert Lange <herbert.lange@gu.se> | 2025-08-08 17:43:56 +0200 |
|---|---|---|
| committer | Herbert Lange <herbert.lange@gu.se> | 2025-08-08 17:43:56 +0200 |
| commit | 1c4cde7c66d0583c40dbc69e63878e7ee52b8042 (patch) | |
| tree | f579bdb26810d9a8f0d27bcda0508fbc5d00076e /src | |
| parent | e0ad7594dd510f64debc26004a6d02b0b829770a (diff) | |
updating formating for git info
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiler/GF/Infra/BuildInfo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Infra/BuildInfo.hs b/src/compiler/GF/Infra/BuildInfo.hs index 2896a17fe..0e0103f3d 100644 --- a/src/compiler/GF/Infra/BuildInfo.hs +++ b/src/compiler/GF/Infra/BuildInfo.hs @@ -22,7 +22,7 @@ buildTime = $(do -- Use Template Haskell to get current Git information gitInfo :: String gitInfo = $(do - info <- liftIO $ try $ readProcess "git" ["log", "--format=\"Commit %h Tag %(describe:tags=true)\"", "-1"] "" :: Q (Either SomeException String) + info <- liftIO $ try $ readProcess "git" ["log", "--format=commit %h tag %(describe:tags=true)", "-1"] "" :: Q (Either SomeException String) return $ LitE $ StringL $ either (\_ -> "unavailable") id info ) {-# NOINLINE buildInfo #-} |
