Fix nasty reversion in the last release that broke sync --content's handling of many preferred content expressions.

The type checker should have noticed this, but the changes to mapM
that make it accept any Traversable hid the fact that it was not being
passed a list at all. Thus, what should have returned an empty list most
of the time instead returned [""] which was treated as the name of the
associated file, with disasterout consequences.

When I have time, I should add a test case checking what sync --content
drops. I should also consider replacing mapM with one re-specialized to
lists.
This commit is contained in:
Joey Hess 2016-01-26 14:28:43 -04:00
parent 3ddfa7bf1d
commit 039e83ed5d
Failed to extract signature
5 changed files with 20 additions and 2 deletions

2
debian/changelog vendored
View file

@ -1,5 +1,7 @@
git-annex (6.20160115) UNRELEASED; urgency=medium
* Fix nasty reversion in the last release that broke sync --content's
handling of many preferred content expressions.
* whereis --json: Urls are now listed inside the remote that claims them,
rather than all together at the end.
* info, add, whereis, find: Support --batch mode.