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 :: Test
|
||||||
getGitVersion = do
|
getGitVersion = do
|
||||||
(_, s) <- pipeFrom "git" ["--version"]
|
(_, 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)
|
return $ Config "gitversion" (StringConfig version)
|
||||||
|
|
||||||
getSshConnectionCaching :: Test
|
getSshConnectionCaching :: Test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue