diff-lib: define diff_get_merge_base()
commit177a8302683da62a62b5b03e8192fcfa897db750
authorDenton Liu <liu.denton@gmail.com>
Sun, 20 Sep 2020 11:22:23 +0000 (20 04:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 21 Sep 2020 04:30:26 +0000 (20 21:30 -0700)
tree3dacb7efb0aa78978ac2d00209ea7d91a86b7440
parent4c3fe82ef17a6636c742b95cd292b83b02876e08
diff-lib: define diff_get_merge_base()

In a future commit, we will be using this function to implement
--merge-base functionality in various diff commands.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-lib.c
diff.h