@@ -18,6 +18,7 @@
1818-- > panic msg = error panicMsg
1919-- > where panicMsg =
2020-- > concat [ "[panic ", $(gitBranch), "@", $(gitHash)
21+-- > , " (", $(gitCommitDate), ")"
2122-- > , " (", $(gitCommitCount), " commits in HEAD)"
2223-- > , dirty, "] ", msg ]
2324-- > dirty | $(gitDirty) = " (uncommitted files present)"
@@ -26,7 +27,7 @@
2627-- > main = panic "oh no!"
2728--
2829-- > % cabal exec runhaskell Example.hs
29−-- > Example.hs: [panic master@2702e69355c978805064543489c351b61ac6760b (6 commits in HEAD) (uncommitted files present)] oh no!
30+-- > Example.hs: [panic master@2ae047ba5e4a6f0f3e705a43615363ac006099c1 (Mon Jan 11 11:50:59 2016 -0800) (14 commits in HEAD) (uncommitted files present)] oh no!
3031
3132module Development.GitRev (gitHash, gitBranch, gitDirty, gitCommitCount, gitCommitDate) where
3233