Compile git revision info into Haskell projects

Version on this page:1.1.0
LTS Haskell 17.11:1.3.1
Stackage Nightly 2021-05-10: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.1.0@sha256:7f85b5cda61852cf37544a20b328778abc2b170b48823d7f437ba7c5df488fc8,1035

Module documentation for 1.1.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.