rev-parse --branches/--tags/--remotes=pattern
authorIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Wed, 20 Jan 2010 09:48:26 +0000 (11:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Jan 2010 20:30:25 +0000 (12:30 -0800)
commitb09fe971dea73ff6f5296ce533a566114b23ca4e
tree69b2da8e23b89af69575aa4de550479dc87652ff
parentd08bae7e221727e26baab984b792854b842130d7
rev-parse --branches/--tags/--remotes=pattern

Since local branch, tags and remote tracking branch namespaces are
most often used, add shortcut notations for globbing those in
manner similar to --glob option.

With this, one can express the "what I have but origin doesn't?"
as:

'git log --branches --not --remotes=origin'

Original-idea-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-log.txt
Documentation/git-rev-list.txt
Documentation/git-rev-parse.txt
Documentation/rev-list-options.txt
builtin-rev-parse.c
refs.c
refs.h
revision.c
t/t6018-rev-list-glob.sh