diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-02-28 08:24:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-29 00:00:29 -0800 |
commit | a5aa930d506689df0f77dded8a3f5aa248b485ee (patch) | |
tree | 803001d5f659a6805959d09a3df386871f47e81d /builtin-rev-list.c | |
parent | 419e38337a4ff66ae2968756cc46c1bf77074814 (diff) | |
download | git-a5aa930d506689df0f77dded8a3f5aa248b485ee.tar.gz git-a5aa930d506689df0f77dded8a3f5aa248b485ee.tar.xz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c index 6f7d5f821..6754e7f12 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" |