sequencer (rebase -i): refactor setting the reflog message
commit96e832a5fd6a97f8d40d89d4c1e97e7e3534edf0
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 2 Jan 2017 15:28:09 +0000 (2 16:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jan 2017 22:57:30 +0000 (9 14:57 -0800)
tree9a2dda401a80a9a83dc35dcd531fe2158397ac40
parentbcbb68be2e287209eb257de314d72d022712e4c9
sequencer (rebase -i): refactor setting the reflog message

This makes the code DRYer, with the obvious benefit that we can enhance
the code further in a single place.

We can also reuse the functionality elsewhere by calling this new
function.

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