convert version command, and make --raw work when not in a git repo

This commit is contained in:
Joey Hess 2015-07-10 13:49:46 -04:00
parent b4d22e6d49
commit 4064dd4c82
5 changed files with 51 additions and 51 deletions

View file

@ -38,8 +38,7 @@ type CommandCleanup = Annex Bool
{- A command is defined by specifying these things. -}
data Command = Command
{ cmdoptions :: [Option] -- command-specific options
, cmdcheck :: [CommandCheck] -- check stage
{ cmdcheck :: [CommandCheck] -- check stage
, cmdnocommit :: Bool -- don't commit journalled state changes
, cmdnomessages :: Bool -- don't output normal messages
, cmdname :: String