File: comment_3_2a80533f259cde64662db7e6a1c1742c._comment

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (28 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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?
"""]]