merge-base --fork-point does not quite work as advertised when the reflog is empty or partial. This series brings it in line with the documentation and, hopefully, with the original intent. Michael J Gruber (3): t6010: test actual test output merge-base: return fork-point outside reflog merge-base: find fork-point outside partial reflog builtin/merge-base.c | 20 ++++---------------- t/t6010-merge-base.sh | 21 +++++++++++++++++++-- 2 files changed, 23 insertions(+), 18 deletions(-) -- 2.14.1.712.gda4591c8a2