Introduce get_octopus_merge_bases() in commit.c
commit5240c9d75d8e1b747da427ba6320432d3201168a
authorMiklos Vajna <vmiklos@frugalware.org>
Fri, 27 Jun 2008 16:22:00 +0000 (27 18:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2008 05:45:51 +0000 (30 22:45 -0700)
treedf51b4adadebc1f71fbb1fd3ba2fe1bdf99897db
parent0b9a969e0fbb0a09e9de931cfe27005cbfd6cb7d
Introduce get_octopus_merge_bases() in commit.c

This is like get_merge_bases() but it works for multiple heads, like
show-branch --merge-base.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c
commit.h