diff options
-rw-r--r-- | doc/design/assistant/disaster_recovery.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/design/assistant/disaster_recovery.mdwn b/doc/design/assistant/disaster_recovery.mdwn index 1bc594e64..67054273e 100644 --- a/doc/design/assistant/disaster_recovery.mdwn +++ b/doc/design/assistant/disaster_recovery.mdwn @@ -1,6 +1,8 @@ The assistant should help the user recover their repository when things go wrong. +[[!toc ]] + ## dangling lock files There are a few ways a git repository can get broken that are easily fixed. @@ -80,6 +82,9 @@ clone the remote, sync from all other remotes, move over .git/config and it. This should be automatable and get the user back on their feet. User could just click a button and have this be done. +This is useful outside git-annex as well, so make it a +git-recover-repository command. + ### detailed design Run `git fsck` and parse output to find bad objects, and determine |