summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2 <emanueleolivetti@web>2016-02-18 14:33:56 +0000
committerGravatar admin <admin@branchable.com>2016-02-18 14:33:56 +0000
commit6a7c4ac3e819edfb3c2b1109036c30a070a3af5b (patch)
tree6b9e1af4b62944a14b9b4f8cc17646a76ff2a217 /doc
parentc537128c8b5f0d653e372492e8116180504b6968 (diff)
Added a comment: repository marked as dead (!)
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies/comment_4_8688477bb694dbc9e6c7768f5f375f3f._comment28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies/comment_4_8688477bb694dbc9e6c7768f5f375f3f._comment b/doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies/comment_4_8688477bb694dbc9e6c7768f5f375f3f._comment
new file mode 100644
index 000000000..1fa409f9c
--- /dev/null
+++ b/doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies/comment_4_8688477bb694dbc9e6c7768f5f375f3f._comment
@@ -0,0 +1,28 @@
+[[!comment format=mdwn
+ username="emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2"
+ nickname="emanuele.olivetti"
+ subject="repository marked as dead (!)"
+ date="2016-02-18T14:33:56Z"
+ content="""
+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:
+
+ (master)> mkdir test ; cd test
+ test (master) > cat > foo
+ bar
+ test (master)> git annex add .
+ add foo ok
+ (recording state in git...)
+ test (master)> git commit -m \"added fake content to test git annex repo\"
+ [master b9f0a8f] added fake content to test git annex repo
+ 1 file changed, 1 insertion(+)
+ create mode 120000 events/2015/test/foo
+ test (master)> git annex fsck .
+ Warning: Fscking a repository that is currently marked as dead.
+ fsck foo (checksum...)
+ ** No known copies exist of foo
+ failed
+ (recording state in git...)
+ git-annex: fsck: 1 failed
+
+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?
+"""]]