diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-31 15:38:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-31 15:38:47 -0400 |
commit | aa05859410b43da72c3165b7915d8c917bc015ca (patch) | |
tree | 3d52ac20c3170d915906af37d341866243911bb7 /Core.hs | |
parent | 435ec21d58f9c7ddb622f290648b31da2c9a8f1e (diff) |
more Wall cleaning
Diffstat (limited to 'Core.hs')
-rw-r--r-- | Core.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |