This commit is contained in:
ericm 2018-10-05 06:31:03 +00:00 committed by admin
parent 2ba39786fd
commit a21e9fc3f7

View file

@ -3,12 +3,12 @@ I want the 2 client repos to only want content that is already present in the re
```git annex wanted . "present"``` ```git annex wanted . "present"```
And let's say the 2 client repos already contain the file test.txt. And let's say the 2 client repos already contain the file **test.txt**.
When I modify test.txt in the laptop repo and run git `annex sync --content`, then go to the desktop repo and run `git annex sync`,<br> When I modify test.txt in the laptop repo and run git `annex sync --content`, then go to the desktop repo and run `git annex sync`,<br>
the behavior I'm expecting is that text.txt in the desktop repo will be updated when sync is run since clients want content that is already present. the behavior I'm expecting is that **test.txt** in the desktop repo will be updated when sync is run since clients want content that is already present.
However, what happens is that the file text.txt in the desktop repo is dropped.<br> However, what happens is that the file **test.txt** in the desktop repo is **dropped**.<br>
Is this the expected behavior when using `present` in the preferred content expression? Is this the expected behavior when using `present` in the preferred content expression?
How can I have the modified content in a client repo automatically copied via `git annex sync --content` to another client repo when the preferred content for the client group is to only want content that is already present? How can I have the modified content in a client repo automatically copied via `git annex sync --content` to another client repo when the preferred content for the client group is to only want content that is already present?