better git version determination
This commit is contained in:
parent
d76bafb2e6
commit
bafc50e05e
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ getVersionString = do
|
|||
getGitVersion :: Test
|
||||
getGitVersion = do
|
||||
(_, s) <- pipeFrom "git" ["--version"]
|
||||
let version = last $ words $ head $ lines s
|
||||
let version = unwords $ drop 2 $ words $ head $ lines s
|
||||
return $ Config "gitversion" (StringConfig version)
|
||||
|
||||
getSshConnectionCaching :: Test
|
||||
|
|
Loading…
Reference in a new issue