diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-17 16:25:12 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-17 16:25:12 -0400 |
commit | bb2bbc010b94755e82086cd52d9332d8166a3426 (patch) | |
tree | 6baf4e116aac10171091b79c74b15857a9dacc36 | |
parent | 64c491738e5af11baa0ee7b5fc63d3514efb46f1 (diff) |
fix
-rw-r--r-- | Init.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ gitPreCommitHookWrite = unlessBare $ do hook <- preCommitHook ifM (liftIO $ doesFileExist hook) ( do - content <- readFile hook + content <- liftIO $ readFile hook when (content /= preCommitScript) $ warning $ "pre-commit hook (" ++ hook ++ ") already exists, not configuring" , unlessM crippledFileSystem $ |