summaryrefslogtreecommitdiff
path: root/CmdLine.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-10 10:49:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-10 10:49:35 -0400
commit515d6b6c7d90e1ff44e791421066450cf4322b47 (patch)
treeeb2b5ae47c93c5d4cd3a928295ed7658b84bf4c4 /CmdLine.hs
parent536bc97d25479ac969273b49442c2fd8c31358c4 (diff)
Avoid using runghc to run test suite as it is not available on all architectures. Closes: #603006
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index adcf25e9a..1c73533df 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -32,6 +32,7 @@ import qualified Command.Init
import qualified Command.Fsck
import qualified Command.Unlock
import qualified Command.Lock
+import qualified Command.PreCommit
subCmds :: [SubCommand]
subCmds =
@@ -51,8 +52,8 @@ subCmds =
"initialize git-annex with repository description"
, SubCommand "unannex" path (withFilesInGit Command.Unannex.start)
"undo accidential add command"
- , SubCommand "pre-commit" path (withFilesToBeCommitted Command.Fix.start)
- "fix up symlinks before they are committed"
+ , SubCommand "pre-commit" path (withFilesToBeCommitted Command.PreCommit.start)
+ "run by git pre-commit hook"
, SubCommand "fromkey" key (withFilesMissing Command.FromKey.start)
"adds a file using a specific key"
, SubCommand "dropkey" key (withKeys Command.DropKey.start)