diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-04-08 10:19:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-04-08 10:19:18 -0700 |
| commit | 37a4780f2c30de9fe0bef533a266c6bca767a50f (patch) | |
| tree | 601afbae0030003f3089e95b22dc466d64874d32 /replay.h | |
| parent | d8c553bbed21761a8af3fa40a20518e210e78a0d (diff) | |
| parent | 23d83f8ddbef9adcb87671358b473e55cf90c90b (diff) | |
| download | git-37a4780f2c30de9fe0bef533a266c6bca767a50f.tar.xz | |
Merge branch 'tc/replay-ref'
The experimental `git replay` command learned the `--ref=<ref>` option
to allow specifying which ref to update, overriding the default behavior.
* tc/replay-ref:
replay: allow to specify a ref with option --ref
replay: use stuck form in documentation and help message
builtin/replay: mark options as not negatable
Diffstat (limited to 'replay.h')
| -rw-r--r-- | replay.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -25,6 +25,13 @@ struct replay_revisions_options { const char *onto; /* + * Reference to update with the result of the replay. This will not + * update any refs from `onto`, `advance`, or `revert`. Ignores + * `contained`. + */ + const char *ref; + + /* * Starting point at which to create revert commits; must be a branch * name. The branch will be updated to point to the revert commits. * This option is mutually exclusive with `onto` and `advance`. |
