Added a comment: storing checksums for non-checksum keys in metadata

This commit is contained in:
Ilya_Shlyakhter 2019-08-16 16:06:29 +00:00 committed by admin
parent 41fee0b0fc
commit 09f79e5256

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="Ilya_Shlyakhter"
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
subject="storing checksums for non-checksum keys in metadata"
date="2019-08-16T16:06:29Z"
content="""
One related improvement would be for git-annex to compute and store, as metadata, checksum-based [[keys|backends]] corresponding to non-checksum-based keys, when git-annex sees the contents of the non-checksum-based key ( e.g. [[todo/alternate_keys_for_same_content]] ). There is of course [[`git-annex-migrate`|git-annex-migrate]], but it requires manual invocation, clouds the commit history of the main git branch with commits that don't really change the content, and leads to either duplicate content in remotes or (if duplicates are dropped) inability to git-annex-get the contents of some past commits.
"""]]