+git-annex (8.20200720.1) UNRELEASED; urgency=medium
+
+ * Fix a bug in find --batch in the previous version.
+
+ -- Joey Hess <id@joeyh.name> Mon, 20 Jul 2020 19:37:40 -0400
+
git-annex (8.20200720) upstream; urgency=medium
* import: Added --no-content option, which avoids downloading files
import Git.FilePath
import qualified Utility.Format
import Utility.DataUnits
+import Annex.Content
cmd :: Command
cmd = notBareRepo $ withGlobalOptions [annexedMatchingOptions] $ mkCommand $
(withFilesInGitAnnex ww seeker)
=<< workTreeItems ww (findThese o)
Batch fmt -> batchFilesMatching fmt
- (whenAnnexed go . toRawFilePath)
+ (whenAnnexed gobatch . toRawFilePath)
where
go = start o
+ gobatch f k = stopUnless (limited <||> inAnnex k) (go f k)
ww = WarnUnmatchLsFiles
start :: FindOptions -> RawFilePath -> Key -> CommandStart
[[!meta author=kyle]]
[[!tag projects/datalad]]
+
+> [[fixed|done]], and audited for any other similar reversions.
+>
+> Unfortunately did not see this bug before the release,
+> so I should make a point release for it. --[[Joey]]
> > > Still todo:
> > >
> > > * move, copy, drop, and mirror were left not using the location log caching yet
+> > > * find has a bit of ugliness around batch mode, and this shows it
+> > > would be worth making the batch mode take the same AnnexedFileSeeker,
+> > > to reunify the batch and non-batch code
> > > * get is left with an unncessary inAnnex check so could be sped up
-> > > a little bit more
+> > > a little bit more. Above improvements to batch mode would allow
+> > > fixing this.
> > >
Another thing that the same cat-file --buffer approach could be used with
Name: git-annex
-Version: 8.20200720
+Version: 8.20200720.1
Cabal-Version: >= 1.10
License: AGPL-3
Maintainer: Joey Hess <id@joeyh.name>