make gitDir absolute
This commit is contained in:
parent
7cedd28ab0
commit
e97fede8cd
3 changed files with 8 additions and 8 deletions
2
Init.hs
2
Init.hs
|
@ -79,7 +79,7 @@ unlessBare a = do
|
|||
preCommitHook :: Annex FilePath
|
||||
preCommitHook = do
|
||||
g <- Annex.gitRepo
|
||||
return $ Git.workTree g ++ "/" ++ Git.gitDir g ++ "/hooks/pre-commit"
|
||||
return $ Git.gitDir g ++ "/hooks/pre-commit"
|
||||
|
||||
preCommitScript :: String
|
||||
preCommitScript =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue