summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar emanuele.olivetti@47d88ed185b03191e25329caa6fabc2efb3118b2 <emanueleolivetti@web>2016-02-13 00:29:58 +0000
committerGravatar admin <admin@branchable.com>2016-02-13 00:29:58 +0000
commita67c1db16b04d2519677cdd465ee3f9599130eb6 (patch)
treecb040bc362506b69a670376ee43fd4de4e0898a3
parent6ad7c9a19a0825c7f0f7c5e381c419cc02bfd579 (diff)
-rw-r--r--doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies.mdwn b/doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies.mdwn
new file mode 100644
index 000000000..9cc0c031c
--- /dev/null
+++ b/doc/bugs/after_git_annex_add_and_commit__44___git_annex_fsck_fails:_no_known_copies.mdwn
@@ -0,0 +1,11 @@
+I added new content to my git annex repo on my laptop, in the usual way: copying the new dir into the repo, then cd into the new directory, 'git annex add .' and then 'git commit -m <MSG>'. Everything went well, with no errors, which means that the files were correctly moved to .git/annex/objects/ and symbolic links were created in the new dir. But now, if I do 'git annex fsck .', I get an error for each file:
+[[!format sh """
+fsck <FILENAME> (fixing location log) (checksum...)
+
+ ** No known copies exist of <FILENAME>
+failed
+"""]]
+Unfortunately, I am not able to reproduce the problem on a toy-example repository. This means that my git annex repo may be broken. How do I fix it?
+I use git v1.9.1 on Ubuntu 14.04 LTS, and git-annex version: 5.20150406-gb2814bc
+
+OK, in all honesty, I did a 'git annex sync' between the 'add' and the 'commit' above. But I synced with a clone of the repository that I keep on an external drive, which is less updated than my laptop. It is less updated because I always add content on my laptop and then sync/get from the external disk. So the sync did no harm, apparently.