]> git.ipfire.org Git - thirdparty/git.git/commit - commit-reach.c
commit-reach: create repo_is_descendant_of()
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 17 Jun 2020 17:24:28 +0000 (17:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jun 2020 20:49:36 +0000 (13:49 -0700)
commitd91d6fbf26663ab64c453411c2de6cf4ea754246
tree63b7873c5d804f73647273fe5e85640941b59b6c
parenteebb51ba8cab97c0b3f3f18eaab7796803b8494b
commit-reach: create repo_is_descendant_of()

The next change will make repo_in_merge_bases() depend on the logic in
is_descendant_of(), but we need to make the method independent of
the_repository first.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-reach.c