From: nobodyinperson Date: Thu, 23 Feb 2023 22:59:49 +0000 (+0000) Subject: Added a comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~50^2~180 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f9b4b318c21c7aa74667aaf9bd3dc192e48e9be1;p=git-annex.git Added a comment --- diff --git a/doc/todo/View_for_old_versions_of_a_file/comment_2_9b1c6f41f77ec6ba9c90a5e9ec088647._comment b/doc/todo/View_for_old_versions_of_a_file/comment_2_9b1c6f41f77ec6ba9c90a5e9ec088647._comment new file mode 100644 index 0000000000..c34f16dde0 --- /dev/null +++ b/doc/todo/View_for_old_versions_of_a_file/comment_2_9b1c6f41f77ec6ba9c90a5e9ec088647._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="nobodyinperson" + avatar="http://cdn.libravatar.org/avatar/736a41cd4988ede057bae805d000f4f5" + subject="comment 2" + date="2023-02-23T22:59:49Z" + content=""" +Yes, probably it would be slower as it has to browse the history. `git checkout` works, sure, but it doesn't help if you want to have all old versions of a file in a directory for comparison. Is there git magic (something in the direction of worktree?) to do that? Or can git-annex produce a list of paths to all versions of an annexed file? Then a script could be written to make a poor-mans-`view --historical` manually. I guess one could manually parse `git log -p` or `git diff --name-only` somehow, but I have a feeling that this gets ugly fast... +"""]]