rename remotes to list
This commit is contained in:
parent
0831a22c25
commit
f4e8b70bba
4 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
|||
- Licensed under the GNU GPL version 3 or higher.
|
||||
-}
|
||||
|
||||
module Command.Remotes where
|
||||
module Command.List where
|
||||
|
||||
import qualified Data.Set as S
|
||||
|
||||
|
@ -16,7 +16,7 @@ import Logs.Trust
|
|||
import Annex.UUID
|
||||
|
||||
def :: [Command]
|
||||
def = [noCommit $ command "remotes" paramPaths seek
|
||||
def = [noCommit $ command "list" paramPaths seek
|
||||
SectionQuery "show which remotes contain files"]
|
||||
|
||||
seek :: [CommandSeek]
|
|
@ -42,7 +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.List
|
||||
import qualified Command.Log
|
||||
import qualified Command.Merge
|
||||
import qualified Command.Status
|
||||
|
@ -133,7 +133,7 @@ cmds = concat
|
|||
, Command.AddUnused.def
|
||||
, Command.Find.def
|
||||
, Command.Whereis.def
|
||||
, Command.Remotes.def
|
||||
, Command.List.def
|
||||
, Command.Log.def
|
||||
, Command.Merge.def
|
||||
, Command.Status.def
|
||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -4,7 +4,7 @@ git-annex (4.20130912) UNRELEASED; urgency=low
|
|||
* Recommend using my patched gcrypt, which fixes some bugs:
|
||||
https://github.com/joeyh/git-remote-gcrypt
|
||||
* Support hot-swapping of removable drives containing gcrypt repositories.
|
||||
* remotes: New command, displays a compact table of remotes that
|
||||
* list: New command, displays a compact table of remotes that
|
||||
contain files.
|
||||
(Thanks, anarcat for display code and mastensg for inspiration.)
|
||||
* fsck: Fix detection and fixing of present direct mode files that are
|
||||
|
|
|
@ -552,7 +552,7 @@ subdirectories).
|
|||
Displays a list of repositories known to contain the contents of the
|
||||
specified file or files.
|
||||
|
||||
* `remotes [path ...]`
|
||||
* `list [path ...]`
|
||||
|
||||
Displays a table of remotes that contain the contents of the specified
|
||||
files. Unlike whereis, this only shows configured remotes, not other
|
||||
|
|
Loading…
Reference in a new issue