diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-08-31 02:04:13 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-31 04:25:57 +0400 |
commit | 6440fdbab430bc10fdac37e86ae25607c93d3903 (patch) | |
tree | d4b9895656c446c0d8bc6bc4cba910f33056a6d9 /builtin/merge-base.c | |
parent | da1f515641f4853a6b7c4710392796ed08efaa6f (diff) |
in_merge_bases(): use paint_down_to_common()
With paint_down_to_common(), we can tell if "commit" is reachable
from "reference" by simply looking at its object flag, instead of
iterating over the merge bases.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge-base.c')
0 files changed, 0 insertions, 0 deletions