summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-17 21:18:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-17 21:18:43 -0400
commit278d5fea4caef3c159cb7525f2aa4399baea95dd (patch)
treed7154f5f6bd92ce15a0f6984d937227caa38fa7d /Command
parenta61df2dd0467435857af76c9f5c371419f25a75c (diff)
fsck: Avoid getting confused by Windows path separators
Diffstat (limited to 'Command')
-rw-r--r--Command/Fsck.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs
index a831dceb4..a9481ba7c 100644
--- a/Command/Fsck.hs
+++ b/Command/Fsck.hs
@@ -207,7 +207,7 @@ fixLink key file = do
return True
where
go want have
- | want /= have = do
+ | want /= fromInternalGitPath have = do
showNote "fixing link"
liftIO $ createDirectoryIfMissing True (parentDir file)
liftIO $ removeFile file