rebase: consolidate clean-up code before leaving reset_head()
commit3249c1251ed30c314f0dd152023e7d52d3beef29
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 12 Nov 2018 11:44:30 +0000 (12 03:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Nov 2018 06:05:02 +0000 (13 15:05 +0900)
treed121839462e25b58ce6ac9eda766f2d83aa2051e
parent8858448bb49332d353febc078ce4a3abcc962efe
rebase: consolidate clean-up code before leaving reset_head()

The same clean-up code is repeated quite a few times; Let's DRY up the
code some.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c