diff options
Diffstat (limited to 'sequencer.c')
| -rw-r--r-- | sequencer.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sequencer.c b/sequencer.c index 5476d39ba9..6d29a938aa 100644 --- a/sequencer.c +++ b/sequencer.c @@ -6052,8 +6052,8 @@ static int make_script_with_merges(struct pretty_print_context *pp, return 0; } -int sequencer_make_script(struct repository *r, struct strbuf *out, - struct strvec *argv, unsigned flags) +int sequencer_make_script(struct repository *r, struct strbuf *out, int argc, + const char **argv, unsigned flags) { char *format = NULL; struct pretty_print_context pp = {0}; @@ -6094,8 +6094,7 @@ int sequencer_make_script(struct repository *r, struct strbuf *out, pp.fmt = revs.commit_format; pp.output_encoding = get_log_output_encoding(); - setup_revisions_from_strvec(argv, &revs, NULL); - if (argv->nr > 1) { + if (setup_revisions(argc, argv, &revs, NULL) > 1) { ret = error(_("make_script: unhandled options")); goto cleanup; } |
