From 711786ee02b520795348be0f8745264eebc50ddc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 18 Oct 2013 15:27:20 -0400 Subject: update --- doc/design/assistant/disaster_recovery.mdwn | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3