This commit is contained in:
Joey Hess 2018-08-20 16:13:46 -04:00
parent c7331eebbf
commit b8cd5fde17
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,5 @@
Add --maximum-cost=N which prevents trying to access any remotes with a
larger cost. May as well add --minimum-cost too for completeness.
My use case: Want to git annex get --auto and pull from any of 3 usb
drives, but not from the network. --[[Joey]]

View file

@ -27,6 +27,11 @@ git-annex should use smudge/clean filters. v6 mode
git-annex adjust and git-annex sync could both use that internally
when checking out the adjusted branch, and merging a branch into HEAD.
Or: Make the smudge filter not provide the actual file content, but the
pointer, at least when used in a checkout. And install a post-checkout
hook that populates the worktree files that were checked out.
Of course, it will also need to update the index..
(My enhanced smudge/clean patch set also fixed this problem, in a much
nicer way...)
@ -45,7 +50,7 @@ git-annex should use smudge/clean filters. v6 mode
Note that the long-running filter process interface has the same problem.
The git-annex proxy idea above could work around this problem.
The annex.thin idea above could work around this problem.
### long term todos