avoid version check before running version and upgrade commands

There are two types of commands; those that access the repository and those
that don't. Sorted.
This commit is contained in:
Joey Hess 2011-03-19 18:58:49 -04:00
parent 54c39d09ba
commit 140a351fc5
33 changed files with 46 additions and 37 deletions

View file

@ -17,7 +17,7 @@ import qualified Command.Fix
import Utility
command :: [Command]
command = [Command "pre-commit" paramPath seek "run by git pre-commit hook"]
command = [repoCommand "pre-commit" paramPath seek "run by git pre-commit hook"]
{- The pre-commit hook needs to fix symlinks to all files being committed.
- And, it needs to inject unlocked files into the annex. -}