Compile git revision info into Haskell projects

Version on this page:1.0.0
LTS Haskell 20.23:1.3.1
Stackage Nightly 2023-05-30:1.3.1
Latest on Hackage:1.3.1

See all snapshots gitrev appears in

BSD-3-Clause licensed by Adam C. Foltzer
Maintained by
This version can be pinned in stack with:gitrev-1.0.0@sha256:94eaebf4a8f39f308ff26bdfcadd4637c9cc44af1be1c34042ffbcd4f4bd0830,1035

Module documentation for 1.0.0

Some handy Template Haskell splices for including the current git hash and branch in the code of your project. Useful for including in panic messages, --version output, or diagnostic info for more informative bug reports.