Add get_merge_bases_clean()
commit31609c17251f368584f7b94d44b06194112b4251
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 1 Jul 2006 23:29:26 +0000 (2 01:29 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 2 Jul 2006 01:13:25 +0000 (1 18:13 -0700)
tree5ce49fdf0575f1716310b52b94db51f308ee891c
parent7c6f8aaf6d795f0c9a75671acceb9754ea06fd81
Add get_merge_bases_clean()

Add get_merge_bases_clean(), a wrapper for get_merge_bases() that cleans
up after doing its work and make get_merge_bases() NOT clean up.
Single-shot programs like git-merge-base can use the dirty and fast
version.

Also move the object flags used in get_merge_bases() out of the range
defined in revision.h.  This fixes the "66ae0c77...ced9456a
89719209...262a6ef7" test of the ... operator which is introduced with
the next patch.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
commit.c
commit.h