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>
This commit is contained in:

committed by
Junio C Hamano

parent
c44c24621d
commit
7d3488eb89
@ -266,6 +266,7 @@ int parse_opt_color_flag_cb(const struct option *, const char *, int);
|
||||
int parse_opt_verbosity_cb(const struct option *, const char *, int);
|
||||
int parse_opt_object_name(const struct option *, const char *, int);
|
||||
int parse_opt_commits(const struct option *, const char *, int);
|
||||
int parse_opt_commit(const struct option *, const char *, int);
|
||||
int parse_opt_tertiary(const struct option *, const char *, int);
|
||||
int parse_opt_string_list(const struct option *, const char *, int);
|
||||
int parse_opt_noop_cb(const struct option *, const char *, int);
|
||||
|
Reference in New Issue
Block a user