summaryrefslogtreecommitdiff
path: root/t/t5000/19f9c8273ec45a8938e6999cb59b3ff66739902a
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-09-09 16:37:24 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-09 11:24:52 -0700
commit0ae42a038da1f63a5b090b70502087817cc54f5d (patch)
treeb7fc351c08b1b56598bb2fc231181ac3c7e921f6 /t/t5000/19f9c8273ec45a8938e6999cb59b3ff66739902a
parentsequencer: lib'ify read_and_refresh_cache() (diff)
downloadtgif-0ae42a038da1f63a5b090b70502087817cc54f5d.tar.xz
sequencer: lib'ify read_populate_todo()
Instead of dying there, let the caller high up in the callchain notice the error and handle it (by dying, still). The only caller of read_populate_todo(), sequencer_continue() can already return errors, so its caller 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 read_populate_todo() callable from new callers that want it not to die, without changing the external behaviour of anything existing. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5000/19f9c8273ec45a8938e6999cb59b3ff66739902a')
0 files changed, 0 insertions, 0 deletions