Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: git/git
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d8c553bbed21761a8af3fa40a20518e210e78a0d
Choose a base ref
...
head repository: git/git
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 23d83f8ddbef9adcb87671358b473e55cf90c90b
Choose a head ref
  • 4 commits
  • 7 files changed
  • 2 contributors

Commits on Mar 25, 2026

  1. Merge branch 'sa/replay-revert' into tc/replay-ref

    * sa/replay-revert:
      replay: add --revert mode to reverse commit changes
      sequencer: extract revert message formatting into shared function
    gitster committed Mar 25, 2026
    Configuration menu
    Copy the full SHA
    ff071a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2026

  1. builtin/replay: mark options as not negatable

    The options '--onto', '--advance', '--revert', and '--ref-action' of
    git-replay(1) are not negatable. Mark them as such using
    PARSE_OPT_NONEG.
    
    Signed-off-by: Toon Claes <toon@iotcl.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    To1ne authored and gitster committed Apr 2, 2026
    Configuration menu
    Copy the full SHA
    e5ae639 View commit details
    Browse the repository at this point in the history
  2. replay: use stuck form in documentation and help message

    gitcli(7) suggests to use stuck form. Change the documentation strings
    to use this form.
    
    While at it, reorder them to match the order in the docs.
    
    Signed-off-by: Toon Claes <toon@iotcl.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    To1ne authored and gitster committed Apr 2, 2026
    Configuration menu
    Copy the full SHA
    6542cac View commit details
    Browse the repository at this point in the history
  3. replay: allow to specify a ref with option --ref

    When option '--onto' is passed to git-replay(1), the command will update
    refs from the <revision-range> passed to the command. When using option
    '--advance' or '--revert', the argument of that option is a ref that
    will be updated.
    
    To enable users to specify which ref to update, add option '--ref'. When
    using option '--ref', the refs described above are left untouched and
    instead the argument of this option is updated instead.
    
    Because this introduces code paths in replay.c that jump to `out` before
    init_basic_merge_options() is called on `merge_opt`, zero-initialize the
    struct.
    
    Signed-off-by: Toon Claes <toon@iotcl.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
    To1ne authored and gitster committed Apr 2, 2026
    Configuration menu
    Copy the full SHA
    23d83f8 View commit details
    Browse the repository at this point in the history
Loading