rebase -i: use struct object_id when writing state
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 4 Nov 2020 15:29:39 +0000 (15:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Nov 2020 22:10:41 +0000 (14:10 -0800)
commita2bb10d06db8a90920f1f518705a0bb9d39aa1db
treec1b76c4d2152805feda76957ee8c5dc892739bd4
parentf3e27a02d598084a0ef5c8dd6b410bd6a5c5299f
rebase -i: use struct object_id when writing state

Rather than passing a string around pass the struct object_id that the
string was created from call oid_hex() when we write the file.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c
sequencer.c
sequencer.h