summaryrefslogtreecommitdiff
path: root/sha1-array.h
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-08-26 15:47:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-29 13:15:14 -0700
commitb9b946d4a4e9e30bc0dba9ce3ff81ab3d3666632 (patch)
tree11fca34e84d0682daad778ae6f4f7481cdcb88a3 /sha1-array.h
parentGit 2.10-rc2 (diff)
downloadtgif-b9b946d4a4e9e30bc0dba9ce3ff81ab3d3666632.tar.xz
sequencer: lib'ify sequencer_pick_revisions()
Instead of dying there, let the caller high up in the callchain notice the error and handle it (by dying, still). The function sequencer_pick_revisions() has only two callers, cmd_revert() and cmd_cherry_pick(), both of which check the return value and react appropriately upon errors. So this is a safe conversion to make sequencer_pick_revisions() 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 'sha1-array.h')
0 files changed, 0 insertions, 0 deletions