]> git.ipfire.org Git - thirdparty/git.git/commit - parse-options-cb.c
rebase -i: use struct commit when parsing options
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 17 Apr 2019 14:30:39 +0000 (15:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Apr 2019 08:32:10 +0000 (17:32 +0900)
commit7d3488eb893ba53186770181171ee8ebc8100e18
treef08740a8f4a0914100376aafa146816577768079
parentc44c24621da1cf45e2525b42d90982c78bffc207
rebase -i: use struct commit when parsing options

This is in preparation for using `struct rebase_options` when parsing
options in cmd_rebase__interactive(). Using a string for onto,
restrict_revision and upstream, was a hangover from the scripted version
of rebase. The functions that use these variables are updated to take a
`struct commit`.

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
sequencer.c
sequencer.h