diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-09-09 16:37:21 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-09 11:24:52 -0700 |
commit | 0d9c6dc9ec316c5b117ee53b44d346349bd8b818 (patch) | |
tree | 882eeee492cf260eccd5b13d4c6464b4ea7c8002 /builtin.h | |
parent | sequencer: lib'ify prepare_revs() (diff) | |
download | tgif-0d9c6dc9ec316c5b117ee53b44d346349bd8b818.tar.xz |
sequencer: lib'ify read_and_refresh_cache()
Instead of dying there, let the caller high up in the callchain
notice the error and handle it (by dying, still).
There are two call sites of read_and_refresh_cache(), one of which is
pick_commits(), whose callers were already prepared to do the right
thing given an "error" return from it by an earlier patch, so the
conversion is safe.
The other one, sequencer_pick_revisions() was also prepared to relay
an error return back to its caller in all remaining cases in an
earlier patch.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin.h')
0 files changed, 0 insertions, 0 deletions