Article View: linux.kernel.git
Article #2730Re: [PATCH v6] doc: git-rebase: update incompatible options
From: Omri Sarig
Date: Mon, 09 Nov 2026 17:23
Date: Mon, 09 Nov 2026 17:23
96 lines
14441 bytes
14441 bytes
On 01/11/2026 09.22, Omri Sarig wrote: > A few options in the rebase manual page link to the "INCOMPATIBLE > OPTIONS" section, but they are 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 which was the > only one at odds with `--ignore-date`, `--reset-author-date` and > `--signoff`. > > Additionally, since 414d924beb (rebase: teach rebase --keep-base, > 2019-08-27) the `--onto` option is incompatible with `--keep-base`, but > doesn't link to the INCOMPATIBLE OPTIONS section. > > Update the description of these options, to have correct references to > the INCOMPATIBLE OPTIONS section. > > Signed-off-by: Omri Sarig <omri.sarig13@gmail.com> > --- > > Thank you for the review! > > Changes in V2: > - Update commit message per the review comments from Phillip (Thanks for the > review!). > - Add `--onto` to INCOMPATIBLE OPTIONS. > > Changes in V3: > - Downcase "Update" in commit title > > Changes in V4: > - Update the commit message per review comments. > - Rebase the patch to be compatible with the maint branch. > > Changes in V5: > - Update commit message, making it clear that the `--onto` option was only > missing the INCOMPATIBLE OPTIONS link. > > Changes in V6: > - Update the commit message per the review comments, making it clearer. > > Documentation/git-rebase.adoc | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/Documentation/git-rebase.adoc b/Documentation/git-rebase.adoc > index f6c22d1598..f1f675d311 100644 > --- a/Documentation/git-rebase.adoc > +++ b/Documentation/git-rebase.adoc > @@ -217,6 +217,8 @@ OPTIONS > As a special case, you may use "A\...B" as a shortcut for the > merge base of A and B if there is exactly one merge base. You can > leave out at most one of A and B, in which case it defaults to HEAD. > ++ > +See also INCOMPATIBLE OPTIONS below. > > See TRANSPLANTING A TOPIC BRANCH WITH --ONTO above for examples. > > @@ -332,8 +334,6 @@ See also INCOMPATIBLE OPTIONS below. > and this option would override that behavior, allowing commits > with empty messages to be rebased. Now commits with an empty > message do not cause rebasing to halt. > -+ > -See also INCOMPATIBLE OPTIONS below. > > -m:: > --merge:: > @@ -487,15 +487,11 @@ applying (in terms of the author date). > Instead of using the author date of the original commit, use > the current time as the author date of the rebased commit. This > option implies `--force-rebase`. > -+ > -See also INCOMPATIBLE OPTIONS below. > > --signoff:: > Add a `Signed-off-by` trailer to all the rebased commits. Note > that if `--interactive` is given then only commits marked to be > picked, edited or reworded will have the trailer added. > -+ > -See also INCOMPATIBLE OPTIONS below. > > --trailer=<trailer>:: > Append the given trailer to every rebased commit message, processed Hi, This patch has been sitting around for some time without a review. Anyone that is interested in reviewing it? Anything more I can do from my side to help this process? Thanks! Omri
Technical Details
Message-ID:
<258741fc-5dbe-4268-948a-9ae298ddc83d@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74955-linux-kernel-git=dewy.ruReferences:
<20261025110759.204336-1-omri.sarig13@gmail.com> <20261101082230.141688-1-omri.sarig13@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74955-linux-kernel-git=dewy.ru
From: omri.sarig13@gmail.com (Omri Sarig)
Newsgroups: linux.kernel.git
Subject: Re: [PATCH v6] doc: git-rebase: update incompatible options
Date: Mon, 9 Nov 2026 18:23:35 +0100
Organization: Usenet Network
Message-ID: <258741fc-5dbe-4268-948a-9ae298ddc83d@gmail.com>
References: <20261025110759.204336-1-omri.sarig13@gmail.com>
<20261101082230.141688-1-omri.sarig13@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="411564"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Fa0RIJwX47cGFvoAd4XWsk53gOg= sha256:whu3ndqISC7wnMpkMjIojQrxUQa2gTmbyiLFJv3ApVk=
sha1:KFSaksCGXxZhJXU0n3Qti6Z73EE= sha256:qcAVWxJJvcGXmqiSqHUFZ0uHtymGiLX1nhoTu6z6sB0=
Content-Language: en-US
List-ID: <git.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id B9B961138A6; Mon, 9 Nov 2026 20:30:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id DF8LGSleEfHK;
Mon, 9 Nov 2026 20:30:04 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=git+bounces-74955-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
by mail.dewy.ru (Postfix) with ESMTPS id 58DF31138AF; Mon, 9 Nov 2026 20:29:55 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sin.lore.kernel.org (Postfix) with ESMTP id BAEEC2B410; Mon, 9 Nov 2026 17:23:41 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794245020;
b=SqqoZPntHbRlem1xFnMTtw2+GTSWXN/nntHkbunCIZxZdDQLXQK7cI34VMniwlSbMSKS
IJATxrYlTQQfeQYOmoIgbMigqGVK6oY2QJO0XlBjlMufWcsldSI8dXLszTTrYzvx7TWQY
Sqn6XJZoN6sIJtobhVDzwMJXH/lzQ0M4r47z/3X/HmsqwDzt51EV+kAl+L8NglmyU9rdQ
qW2vscJNTCTxb0x67LOxdB3hxhyYCzMZuE5Fmzi6DJUUmKnCL8pqMGpIVjpkyyD1gRTR6
mLbYnQRshsWyDJv2FCCWg3fVZ8RAwwPpsGPlmTKgvxauyc/w3Ch3lLirLn0EK1Kf5VA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794245020;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Message-ID:Date:X-Mailing-List:List-Id:
List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
Precedence:MIME-Version:User-Agent:Subject:To:Cc:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=hzwri+YsmKt/+GmdZE8xV6rGD9pcDprjVmbj1CCJxk8=;
b=sQ1yW1wxAWSMDg56rdoDPF1yvWlt/BwX93toYW3axlTtddFyMp8goTPdPJUgeIZvTwQ4
mZrvWQjO+/2fYbLN0xVlyFMRJesm5qpFcZru9FTAoIDa/Iakyb8PrmV/RXoAvP0Hm0cNt
VxzmCXM6LBExw5GFuvECeVlQQyz0Xk+Ri8xneTej2E6fwV3nEOc3C0YGEahiibAkyP9SQ
miO/FXcatpSKvqUXK4DN71+ys8ZZwSMUb7egKVE0p3GgQTfZ70GzKcNu8TCQ67iRv0aPq
OPdszSMhQ3ttNIHvAzu4rGPwkJLGlQEg+XWTvia3hgIjDuq1ZFrENaz/mSWIdxMxE1w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=z5fDZeTC;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B8A2606A332;
Mon, 9 Nov 2026 17:23:40 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=z5fDZeTC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.45
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794245019;
b=Q5T0qSRRtrLvyua3Y3tyvI0qkVyq7Y0f+aNh/SkLkQ+NINQroAaz7vFXgAv2QTUrnciP
i1N2p4pu/4ieOlqsfEXgsVQlK+iTBoOo8MydDNmww0Sla+mtoPgbwUSEXExAUC6Inf8K7
mfOazuxqVeupHuwD/i/pGRIWRNv9gdUZHyNffi7KVH3xyOmc9IuxprxRb8n9b+ypWIaA5
/N0abMPuDTpN09swyqL2uOp/O7SbIM24mUDQ3HMSUhVrMOKtTegSgqMyA5fkrkBs6Ce3r
5UvRisZMYhihPVphGDNIe2bZ7NzpQXZX/ETpv/zb9305X6xRuHocPTXXS13OaT5JfWg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794245019;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:
Content-Language:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
bh=hzwri+YsmKt/+GmdZE8xV6rGD9pcDprjVmbj1CCJxk8=;
b=5OSCoGBhxJ7NC+HULRL66GzZTnoBvpqop3CCsWQwuy1tdayE/osExi9YlUik29o/65mC
4gamEoVsTTkukf0CoEgHeIUIzP4elUokD0QzpG28kOtCn18+j8LFCDfpsYKgrRSNS1TiV
FdXaV+PhOfrK3FfdTGXQFt4qI8Pc6CfnKLfziKpuOX6IBVoGuTBirB6mLTYswpJocQLGe
YWIq1yb2LMrUhfyPDU3mqP/kpHZ9E5u1P6ylJ6tR9fnPsN39U/9qxBw8fRw6TyNlcbdyA
VeoIMPRp/yfOJx5zBhDB/CYYFArqgH7bzAQ6Mm2rcW/9rzFDaulkg2+rJ5pEX+LlRDg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=z5fDZeTC;
arc=none smtp.remote-ip=209.85.218.45
X-Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55449606A31C
for <git@vger.kernel.org>; Mon, 9 Nov 2026 17:23:39 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 55449606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-c4d581da0aaso116768666b.2
for <git@vger.kernel.org>; Mon, 09 Nov 2026 09:23:39 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794245018; x=1794849818; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=hzwri+YsmKt/+GmdZE8xV6rGD9pcDprjVmbj1CCJxk8=;
b=z5fDZeTCrnQ+bpXl2PKUasDfZAbLOrWkWKh9U/iE/kIkh48cZmAcxsJDX2rKEet2vD
ZxbIkDMrCKc+dAfMfdneXxyr6fSCPizi3Mw/KOfJfuw9AUFG+p1AZH2HgziQP9fOdzho
Vb/joJ05XG1ApUlsOgP/czX1tFCQ46XCW/RlGfLVZ05iQLPGW6DC6arHs/7YgUZK7oCg
34yTE1mByTwFgqfmo/1ZChweu9HRbImeD8bM8FtDu4VwOh1La3SxTzYWj4ULzrPnzzht
zJQB5sH4ouf6DYcp5wVo+A7zU/UMbYcDjJufQ+sNPmdRxcp0CBeqApx9UmfzoLGdkNGZ
mQEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794245018; x=1794849818;
h=content-transfer-encoding:content-type:in-reply-to:from
:content-language:references:cc:to:subject:user-agent:mime-version
:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=hzwri+YsmKt/+GmdZE8xV6rGD9pcDprjVmbj1CCJxk8=;
b=RvRb9d8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mD2fMORgbOn9IDFIZ7RWvINcnMFE8QxbHXfz4yQ
E9mI8+G7Fls5WPiI9p0v3jaKdQQP/tnUFaAr6Guh5qABtxtq35lRb8LNqd4PWgVUR9jTBWrvwqs
gAdiNcG2X5RBiTR30+mUyw/UOgA112iThTKxzE8IotJujVkZKPgSlQ==
X-Received: by 2002:a17:907:d716:b0:c43:ae92:9ad with SMTP id a640c23a62f3a-c504951d359mr4308266b.17.1794245017493;
Mon, 09 Nov 2026 09:23:37 -0800 (PST)
X-Received: from [192.168.0.172] ([217.71.1.73])
by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c4d6a9789a6sm199816466b.66.2026.11.09.09.23.36
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 09 Nov 2026 09:23:36 -0800 (PST)
X-Mailing-List: git@vger.kernel.org
X-List-Post: <mailto:git@vger.kernel.org>
X-List-Help: <mailto:git+help@vger.kernel.org>
X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:git+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: julia@jvns.ca, me@linux.beauty, phillip.wood@dunelm.org.uk
X-In-Reply-To: <20261101082230.141688-1-omri.sarig13@gmail.com>