]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
in_merge_bases(): support only one "other" commit
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Aug 2012 21:46:01 +0000 (14:46 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Aug 2012 01:36:39 +0000 (18:36 -0700)
commita20efee9cfcf9c68bb01d0aa82ffc7903d88bab4
treee329f429d9abd42f015099a072efedcfd385ec46
parentd0f1ea6003d97e63110fa7d50bb07f546a909b6e
in_merge_bases(): support only one "other" commit

In early days of its life, I planned to make it possible to compute
"is a commit contained in all of these other commits?" with this
function, but it turned out that no caller needed it.

Just make it take two commit objects and add a comment to say what
these two functions do.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c
builtin/fetch.c
commit.c
commit.h
contrib/examples/builtin-fetch--tool.c
fast-import.c
submodule.c