From 05e573e67269e056ecefd5911b43cf1d234f069f Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Thu, 2 Aug 2018 14:30:51 +0000 Subject: [PATCH] Added a comment: could be taken as a feature! but also annex should avoid merging cache git-annex --- ..._2a80533f259cde64662db7e6a1c1742c._comment | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/tips/local_caching_of_annexed_files/comment_3_2a80533f259cde64662db7e6a1c1742c._comment diff --git a/doc/tips/local_caching_of_annexed_files/comment_3_2a80533f259cde64662db7e6a1c1742c._comment b/doc/tips/local_caching_of_annexed_files/comment_3_2a80533f259cde64662db7e6a1c1742c._comment new file mode 100644 index 0000000000..0a2240882d --- /dev/null +++ b/doc/tips/local_caching_of_annexed_files/comment_3_2a80533f259cde64662db7e6a1c1742c._comment @@ -0,0 +1,28 @@ +[[!comment format=mdwn + username="yarikoptic" + avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4" + subject="could be taken as a feature! but also annex should avoid merging cache git-annex" + date="2018-08-02T14:30:51Z" + content=""" +I have two cache repos -- `cache` is just a regular one and `cache2` with those tuned up parameters: + +[[!format sh \"\"\" +$> git annex merge +merge git-annex (merging cache/git-annex cache2/git-annex into git-annex...) +git-annex: Remote repository is tuned in incompatible way; cannot be merged with local repository. + +\"\"\"]] + +and it didn't merge any of those which is good -- we do not want a possibly monstrous history of the cache to be merged into every repo using it + +But then when I remove that `cache2` git-annex does merge it: + +[[!format sh \"\"\" +$> git remote rm cache2 +$> git annex merge +merge git-annex (merging cache/git-annex into git-annex...) +(recording state in git...) +ok +\"\"\"]] +which imho shouldn't happen -- annex shouldn't merge \"cache\" histories into this repository git-annex history. I guess there should be one more config option to set for those remotes? +"""]]