[PATCH 0/3] merge-base --fork-point fixes
- From
Michael J Gruber <git@grubix.eu>
- Date
- Sep 14, 2017, 13:15 UTC
- Message-ID
- <cover.1505394278.git.git@grubix.eu>
- In-Reply-To
- <68633b20-9e2b-ae23-2ede-8728283250f0@grubix.eu>
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