From: nobodyinperson Date: Sat, 29 Jul 2023 17:07:22 +0000 (+0000) Subject: Suggest that git annex diffdriver fetches content to diff X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~36^2~34 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=33dac74dfa6f06ec447964d43aac9308211ca9fd;p=git-annex.git Suggest that git annex diffdriver fetches content to diff --- diff --git a/doc/todo/Should_git_annex_diffdriver_fetch_non-present_file.mdwn b/doc/todo/Should_git_annex_diffdriver_fetch_non-present_file.mdwn new file mode 100644 index 0000000000..e1470d859f --- /dev/null +++ b/doc/todo/Should_git_annex_diffdriver_fetch_non-present_file.mdwn @@ -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/)