since there is no generic 'fuse' mode, I would like to request to have --get
(or --auto-get
) option for diffdriver. I am trying to compare files across two branches on a repo I just cloned. I cannot download all the files and downloading differing keys across branches for the same file is a bit painful. So I felt that it would be super nice if git annex could auto get those files from somewhere (well -- original clone)
This is a good idea. I wonder what to do about the objects it downloads for a diff; should they be left in the annex for later use/dropunused, or immediately deleted after the diff completes.
My inclination is to keep them around, for one thing when I'm diffing stuff I often run diff more than once, perhaps to widen the diff or because I want to take a second look at it, and re-downloading a bunch of big files would be painful then.
By the way, what diffdriver program are you using? I've had a hard time finding any real-life examples of git diffdrivers.
git annex get
? The next run ofsatisfy
,sync
, etc. will then take care of dropping.