Re: [PATCH] git-remote: show all remotes with "git remote show"
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 9, 2008, 16:54 UTC
- Message-ID
- <alpine.DEB.1.00.0804091754170.2074@eeepc-johanness>
- In-Reply-To
- <20080409151551.GA30439@sigill.intra.peff.net>
Hi,
On Wed, 9 Apr 2008, Jeff King wrote:
Show 14 quoted lines
> Many other commands use the "no arguments" form to show a > list (e.g., git-branch, git-tag). While we did show all > remotes for just "git remote", we displayed a usage error > for "git remote show" with no arguments. This is > counterintuitive, since by giving it _more_ information, we > get _less_ result. > > The usage model can now be thought of as: > > - "git remote show <remote>": show a remote > - "git remote show": show all remotes > - "git remote": assume "show"; i.e., shorthand for "git remote show" > > Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Ciao, Dscho