Bugfix: Fix fsck to not think all SHAnE keys are bad.

This commit is contained in:
Joey Hess 2011-06-10 11:43:28 -04:00
parent 90dd245522
commit 9a272815dd
2 changed files with 2 additions and 1 deletions

View file

@ -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

1
debian/changelog vendored
View file

@ -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 <joeyh@debian.org> Wed, 01 Jun 2011 16:26:48 -0400