bugfix: Fix crash caused by a symlink in the repo with link text ending in a "/". (Thanks Henrik for reporting.)
This commit is contained in:
parent
51327c242f
commit
f4ddb580c8
3 changed files with 8 additions and 3 deletions
|
@ -130,7 +130,8 @@ lookupFile file = do
|
|||
getsymlink = do
|
||||
l <- readSymbolicLink file
|
||||
return $ takeFileName l
|
||||
makekey bs l =
|
||||
makekey _ [] = return Nothing
|
||||
makekey bs l = do
|
||||
case maybeLookupBackendName bs bname of
|
||||
Nothing -> do
|
||||
unless (null kname || null bname) $
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,11 +1,13 @@
|
|||
git-annex (0.17) UNRELEASED; urgency=low
|
||||
git-annex (0.17) unstable; urgency=low
|
||||
|
||||
* unannex: Now skips files whose content is not present, rather than
|
||||
it being an error.
|
||||
* New migrate subcommand can be used to switch files to using a different
|
||||
backend, safely and with no duplication of content.
|
||||
* bugfix: Fix crash caused by a symlink in the repo with link text ending in
|
||||
a "/". (Thanks Henrik for reporting.)
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Sat, 08 Jan 2011 13:45:06 -0400
|
||||
-- Joey Hess <joeyh@debian.org> Sun, 09 Jan 2011 10:04:11 -0400
|
||||
|
||||
git-annex (0.16) unstable; urgency=low
|
||||
|
||||
|
|
|
@ -55,3 +55,5 @@ The trailing slash seems to make a difference!
|
|||
Best Regards,
|
||||
|
||||
Henrik
|
||||
|
||||
> Thanks for the bug report. This is fixed in 0.17. --[[Joey]]
|
||||
|
|
Loading…
Reference in a new issue