git.iko.soy/typeable/gitrev
on master help sign in
wibbles and minor version bump
commit450a7abf444260e95791649489705e54650c0232 authorAdam C. Foltzer <acfoltzer@galois.com> dateThu 16 Mar 2017, 19:33 (10 years ago) parentf8c8130
2 files changed+3−3
unifiedsplit
gitrev.cabal+1−1 src/Development/GitRev.hs+2−2
gitrev.cabal+1−1
@@ -1,5 +1,5 @@
11name: gitrev
2−version: 1.3.0
2+version: 1.3.1
33synopsis: Compile git revision info into Haskell projects
44homepage: https://github.com/acfoltzer/gitrev
55license: BSD3
src/Development/GitRev.hs+2−2
@@ -66,7 +66,7 @@ runGit args def useIdx = do
6666 if gitFound
6767 then do
6868 -- a lot of bookkeeping to record the right dependencies
69− pwd <- runIO getGitDirectory
69+ pwd <- runIO getDotGit
7070 let hd = pwd </> ".git" </> "HEAD"
7171 index = pwd </> ".git" </> "index"
7272 packedRefs = pwd </> ".git" </> "packed-refs"
@@ -121,7 +121,7 @@ getDotGit = do
121121getGitRoot :: IO FilePath
122122getGitRoot = do
123123 pwd <- getCurrentDirectory
124− (code, out, err) <-
124+ (code, out, _) <-
125125 readProcessWithExitCode "git" ["rev-parse", "--show-toplevel"] ""
126126 case code of
127127 ExitSuccess -> return $ takeWhile (/= '\n') out