diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-12 12:21:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-12 12:21:21 -0400 |
commit | 1769d091fb3983ad57406de0b699725641becfa9 (patch) | |
tree | bbdb93807942c2be3ab4fdeef5323468eaa68d86 /GitAnnex.hs | |
parent | 138176a46fa237fe31e42220e622b401b76da6c2 (diff) |
remotes: New command, displays a compact table of remotes that contain files. (Thanks, anarcat for display code and mastensg for inspiration.)
Note that it would be possible to extend the display to show all
repositories. But there can be a lot of repositories that are not set up as
remotes, and it would significantly clutter the display to show them all.
Since we're not showing all repositories, it's not worth trying to show
numcopies count either.
I decided to embrace these limitations and call the command remotes.
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r-- | GitAnnex.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs index 1212edf9f..ab1e8c3d0 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -42,6 +42,7 @@ import qualified Command.Lock import qualified Command.PreCommit import qualified Command.Find import qualified Command.Whereis +import qualified Command.Remotes import qualified Command.Log import qualified Command.Merge import qualified Command.Status @@ -132,6 +133,7 @@ cmds = concat , Command.AddUnused.def , Command.Find.def , Command.Whereis.def + , Command.Remotes.def , Command.Log.def , Command.Merge.def , Command.Status.def |