]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
commit-reach(repo_get_merge_bases): pass on "missing commits" errors
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 28 Feb 2024 09:44:14 +0000 (09:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Feb 2024 16:06:01 +0000 (08:06 -0800)
commit76e2a0999907644966dfe48b573d6e57e2f1e275
treea39782ae673aff3eade9b30efb619e4fdbbea9c2
parent8226e157a92066855811188f7ca3fd4bff5f083d
commit-reach(repo_get_merge_bases): pass on "missing commits" errors

The `merge_bases_many()` function was just taught to indicate parsing
errors, and now the `repo_get_merge_bases()` function (which is also
surfaced via the `repo_get_merge_bases()` macro) is aware of that, too.

Naturally, there are a lot of callers that need to be adjusted now, too.

Next step: adjust the callers of `get_octopus_merge_bases()`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 files changed:
builtin/log.c
builtin/merge-tree.c
builtin/merge.c
builtin/rebase.c
builtin/rev-parse.c
commit-reach.c
commit-reach.h
diff-lib.c
log-tree.c
merge-ort.c
merge-recursive.c
notes-merge.c
object-name.c
revision.c
sequencer.c
submodule.c
t/t4301-merge-tree-write-tree.sh