From f8f3bd8eb42f546e07679999a90fee3b72766a41 Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Sat, 30 Nov 2019 21:36:38 +0000 Subject: [PATCH] Added a comment: hardlinking identical files in annex may break invariants --- ...omment_14_3f62751c2dd041f4ead1c6580ea5eec1._comment | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/internals/comment_14_3f62751c2dd041f4ead1c6580ea5eec1._comment diff --git a/doc/internals/comment_14_3f62751c2dd041f4ead1c6580ea5eec1._comment b/doc/internals/comment_14_3f62751c2dd041f4ead1c6580ea5eec1._comment new file mode 100644 index 0000000000..a950c8f739 --- /dev/null +++ b/doc/internals/comment_14_3f62751c2dd041f4ead1c6580ea5eec1._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="Ilya_Shlyakhter" + avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0" + subject="hardlinking identical files in annex may break invariants" + date="2019-11-30T21:36:38Z" + content=""" +P.S. Re: hardlinking identical files -- git-annex [[keeps track of inodes|todo/inode_based_clean_filter_for_less_surprising_git_add]] where contents is stored, so deleting a file might make that info stale. Also, dropping one key will drop another key's contents without updating [[location_tracking]] info. And dropping then getting files would lead to two separate copies again. So I wouldn't recommend that. + +See also [[tips/local_caching_of_annexed_files]]. +"""]] -- 2.30.2