remote show: obey -vremote-show-nonverbose
commitc67cd2735acfecc6831a3cb46c692e5422b1e30d
authorMichael J Gruber <git@drmicha.warpmail.net>
Sat, 15 Oct 2011 13:24:34 +0000 (15 15:24 +0200)
committerMichael J Gruber <git@drmicha.warpmail.net>
Sat, 15 Oct 2011 13:37:07 +0000 (15 15:37 +0200)
tree1b480a2b54b6b35d13bd8eb76b9a9e4d720cf306
parentdb28da31f1862c4ef324070bd041308cc26068b6
remote show: obey -v

`-v` is listed as an option to `remote show` in the form

git remote [-v] show [-n] <remote>

but has no effect, unless <remote> is missing, in which case `git
remote` is invoked.

Make `-v` retain the most verbose listing (URLs, heads, branches) but
cut down the non-verbose case to list the URLs only. Also, make `-n`
imply `-v` because it is pointless otherwise.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Documentation/git-remote.txt
builtin/remote.c
t/t5505-remote.sh