From: Junio C Hamano <gitster@pobox.com>
To: Omri Sarig <omri.sarig13@gmail.com>
Cc: git@vger.kernel.org, Phillip Wood <phillip.wood@dunelm.org.uk>,
Jeff King <peff@peff.net>, Julia Evans <julia@jvns.ca>,
Li Chen <me@linux.beauty>
Subject: Re: [PATCH v2] doc: git-rebase: Update incompatible options
Date: Mon, 19 Oct 2026 19:29:18 -0700 [thread overview]
Message-ID: <xmqqcxt5yuip.fsf@gitster.g> (raw)
In-Reply-To: <20261019143546.207295-1-omri.sarig13@gmail.com> (Omri Sarig's message of "Mon, 19 Oct 2026 16:35:45 +0200")
Omri Sarig <omri.sarig13@gmail.com> writes:
> Subject: Re: [PATCH v2] doc: git-rebase: Update incompatible options
Downcase "Update" here.
> Several options in the rebase man page link to the "INCOMPATIBLE
> OPTIONS" section when the option is no-longer incompatible with any
> other option.
>
> - Commit 1a66d8c6f6 (rebase: remove --allow-empty-message from
> incompatible opts, 2023-01-25) removed "--allow-empty-message" from
> the INCOMPATIBLE OPTIONS section, but did not remove the link to that
> section from the option description.
> - Commit a74b35081c (rebase: drop support for `--preserve-merges`,
> 2021-09-07) removed the `--preserve-merges` option from rebase, which
> removes all incompatbiilty references to `--ignore-date,
> --reset-author-date` and `--signoff`.
>
> Additionally, `--onto` doesn't link to the INCOMPATIBLE OPTIONS section, even
> though it is incompatible with `--keep-base`.
>
> Update the description of these option, to have correct references to
> the INCOMPATIBLE OPTIONS section.
>
> Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
> ---
> I was not sure if both adding INCOMPATIBLE OPTIONS (--onto) and removing them
> (the other flags) belong in the same commit, or in 2 separate commits. These
> changes felt small enough to me to not require a second commit, but please let
> me know if it's preferred. I'll happily send a new patch where these changes
> are split across different commits.
They both fall into "update the stale list of incompatible options
to code's reality", which the title of the patch claims to do, so I
see no issues there.
next prev parent reply other threads:[~2026-10-20 2:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-19 14:35 [PATCH v2] doc: git-rebase: Update incompatible options Omri Sarig
2026-10-20 2:29 ` Junio C Hamano [this message]
2026-10-20 9:39 ` Phillip Wood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqcxt5yuip.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=julia@jvns.ca \
--cc=me@linux.beauty \
--cc=omri.sarig13@gmail.com \
--cc=peff@peff.net \
--cc=phillip.wood@dunelm.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.