summaryrefslogtreecommitdiff
path: root/Init.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-08-19 12:59:07 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-08-19 12:59:21 -0400
commite97fede8cd86d0eb804ced6d2877f617ba15b1a6 (patch)
treede28895e0a282bcc460c9da8636996272e0df7ec /Init.hs
parent7cedd28ab00d93b4a8d70810511a7c28cae65fd1 (diff)
make gitDir absolute
Diffstat (limited to 'Init.hs')
-rw-r--r--Init.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Init.hs b/Init.hs
index 4708701fa..a469657a1 100644
--- a/Init.hs
+++ b/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 =