]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
Add '...' operator for revisions
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 1 Jul 2006 23:29:37 +0000 (01:29 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 2 Jul 2006 01:13:47 +0000 (18:13 -0700)
commit0d2c9d67d9e1a2fd87b2daeefffffaff0b3f3a49
tree30ea078fdd6661fa0b1f469dbc1570f41a245a93
parent31609c17251f368584f7b94d44b06194112b4251
Add '...' operator for revisions

'A...B' is a shortcut for 'A B --not $(git-merge-base --all A B)'.
This XOR-like operation is called symmetric difference in set
theory.

The symbol '...' has been chosen because it's rather similar to the
existing '..' operator and the somewhat more natural caret ('^') is
already taken.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rev-list.txt
revision.c