summaryrefslogtreecommitdiff
path: root/doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn')
-rw-r--r--doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn b/doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn
deleted file mode 100644
index c31205ede..000000000
--- a/doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn
+++ /dev/null
@@ -1,17 +0,0 @@
-git's index broke and I was unable to restore it. While this is not git-annex' problem, it should still be possible to get my data in an un-annexed state.
-
- % git status
- fatal: index file smaller than expected
- % git annex unannex foo
- fatal: index file smaller than expected
- % git annex uninit
- fatal: index file smaller than expected
- uninit
- pre-commit hook (/path/to/git-annex/.git/hooks/pre-commit) contents modified; not deleting. Edit it to remove call to git annex.
- ok
- %
-
-Ttbomk, the softlinks and objects are enough to un-annex the files; side-stepping git's index if necessary.
-
-> `git annex repair` can now repair broken index files and other
-> git repository corruption. [[done]] --[[Joey]]