summaryrefslogtreecommitdiff
path: root/merge-index.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2008-04-09 11:15:51 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-04-10 01:37:12 -0700
commitc4112bb6bbc83708c7b54deac0928e66b4de2302 (patch)
treeea1675332d35bf0cbdbb0054b11d2f3d47179857 /merge-index.c
parentMerge branch 'maint' (diff)
downloadtgif-c4112bb6bbc83708c7b54deac0928e66b4de2302.tar.xz
git-remote: show all remotes with "git remote show"
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-index.c')
0 files changed, 0 insertions, 0 deletions