implemented filter-branch for key info
authorJoey Hess <joeyh@joeyh.name>
Mon, 17 May 2021 15:06:47 +0000 (11:06 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 17 May 2021 15:11:39 +0000 (11:11 -0400)
commit1da9fe5bd8b60e5e74f8ebb7cec2d868b4b10bcd
treebeff6b3a2f5cf4ac00b4f66f5bd014f1288927d5
parent1d16654a2212bc3194bc7391345c8a351eb31b4b
implemented filter-branch for key info

Not tested yet but should work.

Noted a possible optimisation, which should probably be added, to
speed it up in cases where there is no uuid filtering being done.
It would need Annex.Branch to add a function like getRef that uses
catFileDetails, so the sha is also returned. The difficulty would be
making it support the precached file content; if it didn't it would
probably not be any faster and could even be slower. So probably the
precaching would need to be changed to also cache the sha.
Annex/Branch/Transitions.hs
Command/FilterBranch.hs