diff options
Diffstat (limited to 'Init.hs')
-rw-r--r-- | Init.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ unlessBare :: Annex () -> Annex () unlessBare = unlessM $ fromRepo Git.repoIsLocalBare preCommitHook :: Annex FilePath -preCommitHook = (</>) <$> fromRepo Git.gitDir <*> pure "hooks/pre-commit" +preCommitHook = (</>) <$> fromRepo Git.localGitDir <*> pure "hooks/pre-commit" preCommitScript :: String preCommitScript = |