diff options
author | https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U <Richard@web> | 2011-04-03 00:50:48 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-04-03 00:50:48 +0000 |
commit | a31fb09eafb73897d63d7527f2e66bdd11f6802f (patch) | |
tree | 180f325098c969bf57826f3506319da0bead203f /doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn | |
parent | 5eaa90ab3514e4417b0e002ee47da0a0c3c1d716 (diff) |
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.mdwn | 14 |
1 files changed, 14 insertions, 0 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 new file mode 100644 index 000000000..509e12aeb --- /dev/null +++ b/doc/bugs/unannex_and_uninit_do_not_work_when_git_index_is_broken.mdwn @@ -0,0 +1,14 @@ +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. |