summaryrefslogtreecommitdiff
path: root/Core.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-31 15:38:47 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-31 15:38:47 -0400
commitaa05859410b43da72c3165b7915d8c917bc015ca (patch)
tree3d52ac20c3170d915906af37d341866243911bb7 /Core.hs
parent435ec21d58f9c7ddb622f290648b31da2c9a8f1e (diff)
more Wall cleaning
Diffstat (limited to 'Core.hs')
-rw-r--r--Core.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core.hs b/Core.hs
index 5f799161c..c5026c6a5 100644
--- a/Core.hs
+++ b/Core.hs
@@ -74,7 +74,7 @@ gitAttributes repo = do
{- set up a git pre-commit hook, if one is not already present -}
gitPreCommitHook :: Git.Repo -> IO ()
gitPreCommitHook repo = do
- let hook = (Git.workTree repo) ++ "/" ++ (Git.dir repo) ++
+ let hook = (Git.workTree repo) ++ "/" ++ (Git.gitDir repo) ++
"/hooks/pre-commit"
exists <- doesFileExist hook
if (exists)