summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8 <Hamza@web>2014-04-15 21:29:19 +0000
committerGravatar admin <admin@branchable.com>2014-04-15 21:29:19 +0000
commit45fba4433d7cf68e37ab24bd0e9cd3aafb775619 (patch)
tree9c1b7dc552c578831e1c6a9d9127ba1a8a61df3e /doc
parent32f82d6c6b403eab1cb01c848b9a2667d0b4c607 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Corrupt_Repository_Invalid_Object.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/forum/Corrupt_Repository_Invalid_Object.mdwn b/doc/forum/Corrupt_Repository_Invalid_Object.mdwn
new file mode 100644
index 000000000..af6d8e353
--- /dev/null
+++ b/doc/forum/Corrupt_Repository_Invalid_Object.mdwn
@@ -0,0 +1,10 @@
+One of my repositories got corrupted. I am not exactly sure how it happened (was running a series of commands) but I think I accidentally ran regular mv instead of git mv. To fix it I deleted the moved file then checkout the original link however this did not fixed the problem. I ended up with a corrupted repo. Now running any command ends with the following error,
+
+ ga sync
+ (merging origin/git-annex origin/synced/git-annex into git-annex...)
+ (Recording state in git...)
+ error: invalid object 040000 6ad564920e3d78d31c9456f5be3869a0319f9f08 for'3fd/d44'
+ fatal: git-write-tree: error building trees
+ git-annex: failed to read sha from git write-tree
+
+Was wondering how to fix this? I did run git fsck and git annex fsck but non fixed the problem.