]> dgit.raspbian.org Git - git-annex.git/commitdiff
Added a comment
authorAtemu <Atemu@web>
Fri, 16 Jul 2021 11:21:43 +0000 (11:21 +0000)
committeradmin <admin@branchable.com>
Fri, 16 Jul 2021 11:21:43 +0000 (11:21 +0000)
doc/todo/Hardlink_keys_with_same_hash_but_differrent_ext/comment_7_fed82ecac17e6ed86eb18232d4b5ae6a._comment [new file with mode: 0644]

diff --git a/doc/todo/Hardlink_keys_with_same_hash_but_differrent_ext/comment_7_fed82ecac17e6ed86eb18232d4b5ae6a._comment b/doc/todo/Hardlink_keys_with_same_hash_but_differrent_ext/comment_7_fed82ecac17e6ed86eb18232d4b5ae6a._comment
new file mode 100644 (file)
index 0000000..9971621
--- /dev/null
@@ -0,0 +1,15 @@
+[[!comment format=mdwn
+ username="Atemu"
+ avatar="http://cdn.libravatar.org/avatar/d1f0f4275931c552403f4c6707bead7a"
+ subject="comment 7"
+ date="2021-07-16T11:21:43Z"
+ content="""
+Ah I see. The whole tree would have to be scanned for SHA256H references of a certain SHA256 key on `get` and tree-modifying commands like `checkout`.
+
+With the existing backends that doesn't need to happen since the key existing in the local repo implies that it is reachable via the symlinks in the checkout.
+
+Trickier than I had anticipated, thank you for your insights!
+
+Maybe the extension aliases of a key could be recorded and simply applied in every repo a key exists in. This might require another lookup on get (though it could perhaps be done in the same lookup) but, since it'd require a lookup of a key anyways under SHA256E because they're entirely separate, we wouldn't lose on performance either.  
+The only problem would be propagating new aliases on `sync`...
+"""]]