diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-09-09 16:37:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-09 11:24:52 -0700 |
commit | f74087f6ed21e65a926cb4facfa39d142eeffa96 (patch) | |
tree | 1a600ab5d91c6bb1190b147760193bf9067dc497 /line-range.c | |
parent | sequencer: lib'ify do_recursive_merge() (diff) | |
download | tgif-f74087f6ed21e65a926cb4facfa39d142eeffa96.tar.xz |
sequencer: lib'ify do_pick_commit()
Instead of dying there, let the caller high up in the callchain notice
the error and handle it (by dying, still).
The only two callers of do_pick_commit(), pick_commits() and
single_pick() already check the return value and pass it on to their
callers, so their callers must be already prepared to handle error
returns, and with this step, we make it notice an error return from
this function.
So this is a safe conversion to make do_pick_commit() callable from
new callers that want it not to die, without changing the external
behaviour of anything existing.
While at it, remove the superfluous space.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.c')
0 files changed, 0 insertions, 0 deletions