diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-08-26 15:47:14 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-08-29 13:15:14 -0700 |
| commit | dbfad033d443f27c5579bbb67bd14243b0cbaba6 (patch) | |
| tree | c7e7011f52be924b674bc782e7a7cd560704a3c9 /t/t4013/diff.format-patch_--inline_--stdout_initial..master | |
| parent | sequencer: lib'ify sequencer_pick_revisions() (diff) | |
| download | git-dbfad033d443f27c5579bbb67bd14243b0cbaba6.tar.gz git-dbfad033d443f27c5579bbb67bd14243b0cbaba6.zip | |
sequencer: do not die() in 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 eventual caller of do_pick_commit() is sequencer_pick_revisions(),
which already relays a reported error from its helper functions
(including this one), and both of its two callers know how to react to
a negative return correctly.
So this makes do_pick_commit() 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/t4013/diff.format-patch_--inline_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions
