Re: [PATCH v3 17/17] sequencer: ensure to release the lock when we could not read the index

2016-09-09 Thread Junio C Hamano
Johannes Schindelin writes: > A future caller of read_and_refresh_cache() may want to do more than just > print some helpful advice in case of failure. I recall commenting on unreleased locks on other parts of the series but didn't see this. Looks good. Thanks for being thorough. > diff --git

[PATCH v3 17/17] sequencer: ensure to release the lock when we could not read the index

2016-09-09 Thread Johannes Schindelin
A future caller of read_and_refresh_cache() may want to do more than just print some helpful advice in case of failure. Suggested by Junio Hamano. Signed-off-by: Johannes Schindelin --- sequencer.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sequencer.c b/sequenc