Hi,
I have two repo one in direct (on windows) and one in indirect mode. From time to time the files in the direct repo are replaced by empty files however running git annex fsck always solves it. The problem is that today I did run git annex sync before running git annex fsck and git annex has then created two -variants for each of my files one empty and one with the content. I guess the easier for me is to just scrap that repo and make a new one however how do I prevent the changes to propagate now? I guess that if I now run git annex sync on my other repo all those small files are going to have linked created for them there as well.
I hope this is clear, Thanks in advance.
I don't see any need to scrap the repository. Since you have an indirect mode repository, you can use
git log
in there to find commits you don't like, and rungit revert
to revert them. So if a bad commit comes down from windows, you can just undo it. That's why we use git, yes?I'm much more curious about the circumstances that cause empty files to end up in the direct mode repository.
Ok it makes indeed sense. Regarding the empty files I am going to try to find out where that happens and if I can reproduce. Thanks.