Bugfix: Forgot to de-escape keys when upgrading.
Could result in bad location log data for keys that contain [&:%] in their names. (A workaround for this problem is to run git annex fsck.) `git annex unused --from remote` could also run into the broken code.
This commit is contained in:
parent
b5733069db
commit
2fb771f135
2 changed files with 4 additions and 1 deletions
|
@ -60,7 +60,7 @@ logFile key = hashDirLower key ++ keyFile key ++ ".log"
|
|||
{- Converts a log filename into a key. -}
|
||||
logFileKey :: FilePath -> Maybe Key
|
||||
logFileKey file
|
||||
| end == ".log" = readKey beginning
|
||||
| end == ".log" = fileKey beginning
|
||||
| otherwise = Nothing
|
||||
where
|
||||
(beginning, end) = splitAt (length file - 4) file
|
||||
|
|
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,9 @@
|
|||
git-annex (3.20110706) UNRELEASED; urgency=low
|
||||
|
||||
* Fix sign bug in disk free space checking.
|
||||
* Bugfix: Forgot to de-escape keys when upgrading. Could result in
|
||||
bad location log data for keys that contain [&:%] in their names.
|
||||
(A workaround for this problem is to run git annex fsck.)
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Tue, 05 Jul 2011 20:52:11 -0400
|
||||
|
||||
|
|
Loading…
Reference in a new issue