| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.
Most of the complication in the GitRev module is due to the various places the current git hash might be stored:
These files are added as dependencies to modules that use GitRev, and so the module should be rebuilt automatically whenever these files change.
If you run into further scenarios that cause problems, let me know!
| Back | FazBrowse Home | New Git URL |