summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-11-07 13:55:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-11-07 14:07:25 -0400
commitff03a89236956904b617e02468102e5d390306bd (patch)
tree7095a8d9b4491c2c777cf0d39ad8d4f0da3c6c1e /GitAnnex.hs
parent8aec790a7aefba4dc2e8e0d219d333c12ad585e3 (diff)
add new status command
This works for both direct and indirect mode. It may need some performance tuning. Note that unlike git status, it only shows the status of the work tree, not the status of the index. So only one status letter, not two .. and since files that have been added and not yet committed do not differ between the work tree and the index, they are not shown. Might want to add display of the index vs the last commit eventually. This commit was sponsored by an unknown bitcoin contributor, whose contribution as been going up lately! ;)
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r--GitAnnex.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index 0bd48e0df..9580c240e 100644
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -47,6 +47,7 @@ import qualified Command.List
import qualified Command.Log
import qualified Command.Merge
import qualified Command.Info
+import qualified Command.Status
import qualified Command.Migrate
import qualified Command.Uninit
import qualified Command.Trust
@@ -141,6 +142,7 @@ cmds = concat
, Command.Log.def
, Command.Merge.def
, Command.Info.def
+ , Command.Status.def
, Command.Migrate.def
, Command.Map.def
, Command.Direct.def