From 9a272815ddd33272008a4052ea74e7bbc4c842f8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Jun 2011 11:43:28 -0400 Subject: [PATCH] Bugfix: Fix fsck to not think all SHAnE keys are bad. --- Backend/SHA.hs | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Backend/SHA.hs b/Backend/SHA.hs index 94ebe093ed..8ed00b7073 100644 --- a/Backend/SHA.hs +++ b/Backend/SHA.hs @@ -119,7 +119,7 @@ checkKeyChecksum size key = do then return True else do s <- shaN size file - if s == keyName key + if s == dropExtension (keyName key) then return True else do dest <- moveBad key diff --git a/debian/changelog b/debian/changelog index 4fe1febd31..25c00963c2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ git-annex (0.20110602) UNRELEASED; urgency=low * Add --numcopies option. * Add --trust, --untrust, and --semitrust options. * get --from is the same as copy --from + * Bugfix: Fix fsck to not think all SHAnE keys are bad. -- Joey Hess Wed, 01 Jun 2011 16:26:48 -0400