]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
commit: Let the callback of for_each_mergetag return on error
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 25 Apr 2018 09:54:04 +0000 (11:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2018 03:52:57 +0000 (12:52 +0900)
commitfef461ea5d53dd84c6d946f57a018ffc9f391a05
tree08f1ddeb9c54d1b18d7cb874e487b15f7e298111
parentc5aa6db64f6f43621568bb1fec9360c25dbd2749
commit: Let the callback of for_each_mergetag return on error

This is yet another patch to be filed under the keyword "libification".

There is one subtle change in behavior here, where a `git log` that has
been asked to show the mergetags would now stop reporting the mergetags
upon the first failure, whereas previously, it would have continued to the
next mergetag, if any.

In practice, that change should not matter, as it is 1) uncommon to
perform octopus merges using multiple tags as merge heads, and 2) when the
user asks to be shown those tags, they really should be there.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/replace.c
commit.c
commit.h
log-tree.c