refactored and generalized pre-command sanity checking

This commit is contained in:
Joey Hess 2011-10-27 16:31:35 -04:00
parent 66194684ac
commit 5b74b130a3
38 changed files with 73 additions and 67 deletions

View file

@ -13,7 +13,7 @@ import qualified Annex.Queue
import Annex.Content
command :: [Command]
command = [repoCommand "fix" paramPaths seek
command = [Command "fix" paramPaths needsRepo seek
"fix up symlinks to point to annexed content"]
seek :: [CommandSeek]