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)
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>
No differences found