Compile git revision info into Haskell projects

Version on this page:1.2.0
LTS Haskell 22.25:1.3.1
Stackage Nightly 2024-06-13: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 [email protected]
This version can be pinned in stack with:gitrev-1.2.0@sha256:3c198d746e3d608a9de2ccb9a1a21aa8fd7af83c2d21802d9c92a7cf1e40acf0,1035

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