Suggest that git annex diffdriver fetches content to diff

This commit is contained in:
nobodyinperson 2023-07-29 17:07:22 +00:00 committed by admin
parent 2503ff17db
commit 33dac74dfa

View file

@ -0,0 +1,7 @@
I noticed that `git annex diffdriver` doesn't make sure that files it tries to diff are actually present. Would it make sense that `git annex diffdriver ...` runs `git annex get` to ensure files are present? 🤔 A `git diff` could then result in a lot of traffic if the user configured the `diffdriver`. But I'd say that users who took their time to configure would be are aware of this or even expect that to happen - after all they want to see the differences to a past version.
A manual workaround is to handle the `get`ting in a custom supplied diffing program.
Context:
- [recently added `git annex diffdriver --text`](https://git-annex.branchable.com/todo/Improving_diffdriver_--text/)