diff options
-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 $ |