gitrev
gitrev copied to clipboard
Compile git revision info into Haskell projects
Hi, I integrated with git rev. It is working for scenario `nix-shell --pure && cabal build`, but for `nix-build https://github.com/..../master` I get UNKNOWN. I understand this is not about gitrev...
Trying to use gitrev on Windows displaying an East Asian language results in an I/O exception (taken from the build output of haskell-ide-engine): ``` ormolu > app\Main.hs:102:11: error: ormolu >...
Under the current implementation, `.git` must be in the project. I suggest that we give `git` command the visibility of other directories in addition to the current directory.
which returns the diff of the working copy to HEAD
This allows the splices provided by `gitrev` to be included in typed TH quotes. Moreover, they greatly clarify the interfaces. This change should of course be accompanied by a major...
I like this package a lot, but using "UNKNOWN" instead of Nothing means a user has to compare strings to handle this case specially. Would a variant returning `Maybe` be...
`.git/index` doesn't only contain the textual information of `git status --porcelain` in binary, but in fact it contains the mtimes of all files in it (updated when `git status` is...
Can be useful if one wants to log it as a context in many (every?) log messages. Then it's best if length is kept to minimum.