fix --from overriding annex-ignore
authorJoey Hess <joeyh@joeyh.name>
Thu, 30 Nov 2023 19:11:57 +0000 (15:11 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 30 Nov 2023 19:12:07 +0000 (15:12 -0400)
commit1654572bc1673103de88682eb4ab19dda2d1403c
treee77a6843276399bc8821fc5d2d4d0b622ee9b4a3
parent060259b75016046476ec9887962efdfee915c782
fix --from overriding annex-ignore

Make git-annex get/copy/move --from foo override configuration of
remote.foo.annex-ignore, as documented.

This already worked for remotes supporting hasKeyCheap. For others though,
git-annex copy --from foo would silently not do anything, while
git-annex copy --to foo would use the annex-ignored remote.

Also improved the annex-ignore docs, to reflect that `git-annex get`
without --from will skip using annex-ignored remotes, for example.

Sponsored-by: Dartmouth College's DANDI project
Annex/NumCopies.hs
Assistant/TransferQueue.hs
CHANGELOG
Command/CheckPresentKey.hs
Command/Get.hs
Command/Move.hs
Command/Sync.hs
Remote.hs
doc/git-annex.mdwn