]> git.ipfire.org Git - thirdparty/git.git/commit - parse-options.h
rebase -i: use struct object_id for squash_onto
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 17 Apr 2019 14:30:40 +0000 (15:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Apr 2019 08:32:10 +0000 (17:32 +0900)
commit338985317eb84007f0d08979e751cbf32a375a52
tree4ad42aaa93400eafcac99c8cb7ee98932b300fb1
parent7d3488eb893ba53186770181171ee8ebc8100e18
rebase -i: use struct object_id for squash_onto

More preparation for using `struct rebase_options` in
cmd_rebase__interactive(). Using a string was a hangover from the
scripted version of rebase, update the functions that use `squash_onto`
to take a `sturct object_id`.

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