summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-09-09 16:37:21 +0200
committerJunio C Hamano <gitster@pobox.com>2016-09-09 11:24:52 -0700
commit0d9c6dc9ec316c5b117ee53b44d346349bd8b818 (patch)
tree882eeee492cf260eccd5b13d4c6464b4ea7c8002 /commit.c
parentc3e8618c1f26f9b6b658d02a09530ae8eb85fc04 (diff)
downloadgit-0d9c6dc9ec316c5b117ee53b44d346349bd8b818.tar.gz
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 'commit.c')
0 files changed, 0 insertions, 0 deletions