2 username="emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2"
3 nickname="emanuele.olivetti"
4 subject="repository marked as dead (!)"
5 date="2016-02-18T14:33:56Z"
7 Update: I've just tried to add a 'test' directory to the repository with only a 'foo' file inside, then git commit. Surprisingly, if I do 'git annex fsck .' of it, the repository is marked as **dead** and no known copies of foo are available:
9 (master)> mkdir test ; cd test
10 test (master) > cat > foo
12 test (master)> git annex add .
14 (recording state in git...)
15 test (master)> git commit -m \"added fake content to test git annex repo\"
16 [master b9f0a8f] added fake content to test git annex repo
17 1 file changed, 1 insertion(+)
18 create mode 120000 events/2015/test/foo
19 test (master)> git annex fsck .
20 Warning: Fscking a repository that is currently marked as dead.
21 fsck foo (checksum...)
22 ** No known copies exist of foo
24 (recording state in git...)
25 git-annex: fsck: 1 failed
27 At this point, I suspect that the repository on my laptop has some serious problem. Shall I move this discussion to the forum? It may be a git-annex bug but it can just be that the repository is damaged for other reasons. Moreover, what is the best course of action, at this point?