From 9ef09587dc58a15f4f4c7302abab034123455be0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 17 Jun 2013 21:18:43 -0400 Subject: [PATCH] fsck: Avoid getting confused by Windows path separators --- Command/Fsck.hs | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Command/Fsck.hs b/Command/Fsck.hs index a831dceb48..a9481ba7ce 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 diff --git a/debian/changelog b/debian/changelog index c433d2bf04..a31d5c4577 100644 --- a/debian/changelog +++ b/debian/changelog @@ -30,6 +30,7 @@ git-annex (4.20130602) UNRELEASED; urgency=low * status: No longer shows dead repositories. * annex.debug can now be set to enable debug logging by default. The webapp's debugging check box does this. + * fsck: Avoid getting confused by Windows path separators -- Joey Hess Mon, 10 Jun 2013 12:52:44 -0400