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.
This commit is contained in:
parent
c937d5b9f2
commit
82759b6a5d
4 changed files with 81 additions and 1 deletions
|
@ -549,9 +549,15 @@ subdirectories).
|
|||
|
||||
* `whereis [path ...]`
|
||||
|
||||
Displays a list of repositories known to contain the content of the
|
||||
Displays a list of repositories known to contain the contents of the
|
||||
specified file or files.
|
||||
|
||||
* `remotes` [path ...]
|
||||
|
||||
Displays a table of remotes that contain the contents of the specified
|
||||
files. Unlike whereis, this only shows configured remotes, not other
|
||||
repositories. However it is a more compact display.
|
||||
|
||||
* `log [path ...]`
|
||||
|
||||
Displays the location log for the specified file or files,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue