]> git.ipfire.org Git - thirdparty/git.git/commit
sequencer: ensure to release the lock when we could not read the index
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 9 Sep 2016 14:38:20 +0000 (16:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2016 18:24:52 +0000 (11:24 -0700)
commit49fb937e9a082b3bdecd85f1c539a1e1683e1a3d
treee528aca28a18c363d1daa020f205037780e54cf6
parent55f5704da69d3e6836620f01bee0093ad5e331e8
sequencer: ensure to release the lock when we could not read the index

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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c