summaryrefslogtreecommitdiff
path: root/builtin-rev-list.c
diff options
context:
space:
mode:
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>2008-02-28 08:24:25 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-29 00:00:29 -0800
commita5aa930d506689df0f77dded8a3f5aa248b485ee (patch)
tree803001d5f659a6805959d09a3df386871f47e81d /builtin-rev-list.c
parent419e38337a4ff66ae2968756cc46c1bf77074814 (diff)
downloadgit-a5aa930d506689df0f77dded8a3f5aa248b485ee.tar.gz
rev-list: add --branches, --tags and --remotes
These flags are already known to rev-parse and have the same meaning. This patch allows to run gitk as follows: gitk --branches --not --remotes to show only your local work. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r--builtin-rev-list.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 6f7d5f8214..6754e7f124 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -25,6 +25,9 @@ static const char rev_list_usage[] =
" --no-merges\n"
" --remove-empty\n"
" --all\n"
+" --branches\n"
+" --tags\n"
+" --remotes\n"
" --stdin\n"
" --quiet\n"
" ordering output:\n"