Article View: linux.kernel.git
Article #4287[PATCH 10/12] doc: diff-tree: tell about --no-commit-id in Description
From: kristofferhaugsbakk
Date: Wed, 02 Dec 2026 22:14
Date: Wed, 02 Dec 2026 22:14
29 lines
13803 bytes
13803 bytes
From: Kristoffer Haugsbakk <code@khaugsbakk.name> This doc has many options. 'git help --man diff-tree' tells us that it is 1346 lines long. In turn the dedicated options are not skimmable. This options is important if you for example just want regular diff output. So letβs mention it in the Description section as well. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> --- Documentation/git-diff-tree.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/git-diff-tree.adoc b/Documentation/git-diff-tree.adoc index f1e3134bdef..084be99e7cf 100644 --- a/Documentation/git-diff-tree.adoc +++ b/Documentation/git-diff-tree.adoc @@ -20,6 +20,9 @@ Compare the content and mode of blobs found via two tree objects. If there is only one <tree-ish> given, the commit is compared with its parents (see --stdin below). +This command outputs a line with the commit ID when applicable. Use +`--no-commit-id` to suppress this behavior. + Note that 'git diff-tree' can use the tree encapsulated in a commit object. OPTIONS -- 2.56.1.5.g155936fbb2a
Technical Details
Message-ID:
<--no-commit-id.df9@m5gid.xyz>Path:
mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76925-linux-kernel-git=dewy.ruReferences:
<CV_diff-tree_NUL_termination.def@m5gid.xyz>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-76925-linux-kernel-git=dewy.ru
From: kristofferhaugsbakk@fastmail.com
Newsgroups: linux.kernel.git
Subject: [PATCH 10/12] doc: diff-tree: tell about --no-commit-id in Description
Date: Wed, 2 Dec 2026 23:14:18 +0100
Organization: Usenet Network
Message-ID: <--no-commit-id.df9@m5gid.xyz>
References: <CV_diff-tree_NUL_termination.def@m5gid.xyz>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="2073782"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:nJ6u627zDExFFp9j02YBcr030PI= sha256:VmRwicAQcdJU/mJ7xSyrgwLfkneANH0eh9J76H4ks44=
sha1:I4hfoGvEmTXPAOvzuRyL52/ZfZM= sha256:qwuFwNu15ZdpaP6xmpwu5Soay3Z2FtD088P2VCmxUGs=
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 1C4F4117753; Thu, 3 Dec 2026 01:17:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.948
X-Spam-Status: No, score=-1.948 tagged_above=-9999 required=6.31
tests=[DCC_CHECK=1.1, 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, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=fastmail.com header.b=WvrfChM2; dkim=pass (2048-bit key)
header.d=messagingengine.com header.b=Me0SQCDC
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 oQD6AOsAoh6b;
Thu, 3 Dec 2026 01:17:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-76925-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=fastmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 3904811771C; Thu, 3 Dec 2026 01:17:24 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 768F72A4F0; Wed, 2 Dec 2026 22:17:22 +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=1796249841;
b=BOMU6mutmdZQvKMlOBZdF+V8Vm9IkD4xAlMlq819RK9XCYRAOv0TA4AAnuu32piQT1J1
i/ydQgQ7QAl2Wo5y/i2noQwXyg+UyDtU9O8JK1oP75ha5Uj27IfUBpP1Chhi7oqhN35i0
bcyUUz96ouyGwqNnffwldxHhP8jQg5LW/LijNept7H4C535CnEI8zUG4JzKLg5JEZlDlE
xWhfizVzSC8Z5GNiwQiwhGTUluIo0lQj4JQUa8+NKOhX2Ro++gj0t6+vMSOpE07toTeI0
amRylWLH5dRYnrSb+K9qrc3A2IJW8bH3kJwci3zCxQlFh9H1M+O26tlmGtVhQcxbcKg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796249841;
h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
DKIM-Signature:X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:
Message-Instance:X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:
X-ME-Proxy:Feedback-ID:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:Content-Type:Content-Transfer-Encoding;
bh=iF4b9q/oRL7DtgWtAheNjjow5xWQZNIHNlWH8eqF00o=;
b=eH37D5u9/9b0KIt1+9FD0mUPv1NfwigdwJNEtzGwFsKWNwhkxPY7W/Op68kOsUMZwAhs
ZCzpwSw7TU7JrbH5XLwbewSlH3n/UUSgoVT5zKlOO2HbZ+htutCcNgV3DEm8TNDkjAL+f
+Rw/39Nr9OXl1f4MZf4SuUmWBYB6ew/buHirMEBndhNHfnLhb/NO3W6nvCLPZZh7YNMD7
QjbJSGPhtj1P4sni5S09omO8J8Z9qJrk+nnFvt5xLqHnKWv9bJNppCX5URyJ7KfDYHRQj
Qc4qxp1vEkVzjeXF+9Qjk2aevBGkSrBzYSO7AqVsk0g1rMpEU3ynuWl9Hmx9Y81Nwmg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=WvrfChM2;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=Me0SQCDC;
dmarc=pass header.from=fastmail.com;
spf=pass smtp.mailfrom=fastmail.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 28D1B606A334;
Wed, 2 Dec 2026 22:17:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=WvrfChM2;
dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=Me0SQCDC
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.147
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796249840;
b=TsMUrEt9nLty4BS5GYJ+JTolM9lwMDAuQjhpSrHNyKCf0atmWlC7V9tK+NmFYkYmeC79
FARgai0DHJfuHdiKpWjRv6Wau2SzbnsP+MZTc4W8yIgnpij4ocW09Gwja+noPtghfppaY
aJ6OMCHmM2RudfI65YhXAtmlWd/vP0ZsvGk5l/CEEUDofFnbma9EKoGU1slRVczwP41ql
ijYczvnhvJoj/pe2c+xCwoo2kJIW8rKMdR3WfabzA2sSSf4kBufmXtATPH41JG/qaLfg5
+IvlCaaMY1Wk8uu9iV3QgLjfwyLZ7w94orepotOFKQd3yAip/6PPO4mztUSnvudKxzA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796249840;
h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:
X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance:
X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
References:MIME-Version:Content-Type:Content-Transfer-Encoding;
bh=iF4b9q/oRL7DtgWtAheNjjow5xWQZNIHNlWH8eqF00o=;
b=UGMJMHkJXZNxybNnbO7kgpOXTYqEEEM5VrtyCjXnr7nPegqMENM5AKXSKdqJlM0qLOY9
Lzi6scliwVNATVvkCz/EwhUp3HSy+8RSqTiAzbN58LK0bSVCEKYY/Q7iWPum/LCylTrWu
NnRsqr7cgjF5PQ6QfQ7BHFRrC0/i39WA9syIhkOc08qdl6d7+NHceNbeYocnmLlvI3Z6A
GFO2TfZ6qLD73kegUZGlyCmfizSxT3+z68ew4ZrRAlxTO11SC71XYJZyX4ytcm97Wpxjj
urIo5tNOqGwzfuPqPSIG7jeeVpgOSSr/Jy6Af2Y/YrWvzVgMkum71eQbkRbVW6sP8+g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=fastmail.com;
spf=pass smtp.mailfrom=fastmail.com;
dkim=pass header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=WvrfChM2;
dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=Me0SQCDC;
arc=none smtp.remote-ip=103.168.172.147
X-Received: from fout-a4-smtp.messagingengine.com (fout-a4-smtp.messagingengine.com [103.168.172.147])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (prime256v1))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9360606A322
for <git@vger.kernel.org>; Wed, 2 Dec 2026 22:17:19 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D9360606A322
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.com
X-Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
by mailfout.phl.internal (Postfix) with ESMTP id 1071DEC0101
for <git@vger.kernel.org>; Wed, 2 Dec 2026 17:17:19 -0500 (EST)
X-Received: from phl-frontend-04 ([10.202.2.163])
by phl-compute-05.internal (MEProxy); Wed, 02 Dec 2026 17:17:19 -0500
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
cc:cc:content-transfer-encoding:content-type:content-type:date
:date:from:from:in-reply-to:in-reply-to:message-id:mime-version
:references:reply-to:subject:subject:to:to; s=fm3; t=1796249839;
x=1796336239; bh=iF4b9q/oRL7DtgWtAheNjjow5xWQZNIHNlWH8eqF00o=; b=
WvrfChM2gXPWZx+KizMJfgN/NPmmt6FPVOC7Fi5JKi2oSXOHbPoOtgROiWLFGTpN
+h8H9A1HamLO/JAuAJPKHIxd2Chpf9ya0CEkFZyCNngrwCMWweJSDNLnNCMcaAII
wpZ39o08NmLQArVTNCMVTx+IL5x+wrHbvwidkV/gorJaqG4wbI9qmczrPbUAPsZ9
ue8qS2mGgxspG5K925HslhFZCrR2i8TpwqiSxYBH+sVdVaksUCsgo8Z8Z7DO7F26
vJgaCbVbdjc2rs31iWmQUS7xNEopgj9vtClfv00sBzuenkwRIAhgj+iKMRSWsdCD
azHhXOtU9XgOT4a7756c9g==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-transfer-encoding
:content-type:content-type:date:date:feedback-id:feedback-id
:from:from:in-reply-to:in-reply-to:message-id:mime-version
:references:reply-to:subject:subject:to:to:x-me-proxy
:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1796249839; x=
1796336239; bh=iF4b9q/oRL7DtgWtAheNjjow5xWQZNIHNlWH8eqF00o=; b=M
e0SQCDCsYtXEIIztpoAWvYTINQulbKVGj7I+yJ7+xvU+lagikaqhKVDW03Ejnzn/
2YlqJlc8sh90yQ63xWCa739Lr6vV9pBOqowVv0n5TG6110ngZDFBvgtrnegEFcPc
hYB3OpWQ+44jc8S8zQUTV0DAEvuIJm9uLquldn1cj3pocmN58ImiGYmslr7b6iMv
WF8UtoPiVWU+gVZ6SSy6BhkCJ64w2mxahOH0uPuAuJaAMwlWSwGjRIIxcMt4NaFP
Ys2j/sbZq6u8OBt+ymoBfsz+ch2fogq6uBx3YyBoODKPO1hf/2GI1hPUd1A/lfRz
+CT3FLA4iFcJaR7iqJ4+g==
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09;
repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox;
action=sign d=fastmail.com a=rsa-sha256;
X-DKIM2-Signature: i=1; m=1; t=1796249839; d=fastmail.com;
mf=PGtyaXN0b2ZmZXJoYXVnc2Jha2tAZmFzdG1haWwuY29tPg==;
rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+;
s=fm3:rsa-sha256:asmtCUR897jj5aw7N7vc/1N+YB6NxTqEK0HnH7H5JmPLkH4
MolZVSxAsbphc+6Gu5tx0HQN0vGS0GeqzYDhqSLE6tAeBa2e/xG1t1AaOJkH2/dQ
l/WkpLsVXpHtv3c8JwfgdYV7d4V3dShr8IieOHYDA2pH0dwOEJuzV04Bl/vwOPYj
fbl3Mh+ZpYJMxVR5JTp+lYJoCBMxzszJsx1D/ZzDRJTkSPXK4EVsGb0BBoi79YAA
xZ46R2s1EapEEwMtQTMzEBZvQNeBUxuQgz/9oHIJVW9zLKzCOD3etIm+R3MdAERp
/jnUjfDWepdNF5+nLHdP1Rl/vjn/7EiWViFe2Zg==;
X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09;
repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox;
action=mi-m=1; hc=12;
hn=cc,content-transfer-encoding,content-type,date,feedback-id,
from,in-reply-to,message-id,mime-version,references,subject,to;
X-Message-Instance: m=1; h=sha256:jLpqGTQqnqkHkJtB7Z97QHfcyJ8seyh1hsClkNpPOzU=:uCe4mk+XiIyRIkTThfAKWAIELNRlU80Cw5fVENtEoEE=;
X-ME-Sender: <xms:7pgQa0YiuKC872p13PkJZ-yBMZr7iJLjOVdzb71Mp1csE4uld3ICCm4>
<xme:7pgQa1YbTQJmRf2XIZp5Z0pxB52CktcTLT1KMBkqwjHVyAueBgRbKmFPVJh4ibBFc
9GbFDVdHAg53GRozlO4nIT3lTWsWjqyWe5ExqWZDtaVWF5jAAGdaA>
X-ME-Received: <xmr:7pgQa8nd9Dwi2s61_VncjLI6DZ1ad3FjQ6cF2VVZkKXqDY5AwHOU6kdH7qlJ09G-n7f4qhpR9bE1Ix5b3tOM5DOOLOF_LNQJ_eE6w3rARWJzT_tjvwRt5Vk>
X-ME-Proxy-Cause: dmFkZTFXM3T0fZEi0btnMcYRutLPDn5SE7PUWmi3ng7TvIVlpexXbEBVqH6cvGesLHRLYv
Htmy2eB3hg5kotiy3t4WCPojDogrTzUH3oi0c+J5wmCL9kSn8WjggA8eL11gJOoSwUYu6S
ddYOHHjIbKrIkPmJEZmQCJgwPvmLC7bhheYLq/fB9H+GVTcRz5uqrTjFkJ2fab0VrL0EGH
KLSrqTDveKKxNltm6xbcad4f7ZGOfUPAECeA6jIYJMOp9W3Z3cdUQK/fQlkVHr53WC0SyR
KYEco6LHPqHiZCBs/FpWWEQ0Ye8iPoR7KpBu5VvW8S31/o6chHZn0ZJ5QeGQIMEXicI0NC
NKRFYhCYwN/iC7paKnlPzlRi2bHkGEW8bE8DwTtp96NmHczcZ9MDt7hNcJRnJW2dnOJxF9
icSd6KPeI2tv2B3Fxs8Aj1c2Eap7SV0bz1SqUFzpk/BgcDaxejikVG/PCUnESWtWDQTMZ5
UmGKT8WXcJc6swUPmZZpZqSFL4sIZ1vPRfwNwvlWlGfal+9SynsUCmWvX+xbgV2zapHyx3
oyzJL1b31iY0ZIeAKLnyfg7RibCZqsFSBzfyjr7lrBsle6hJ1P+TqvY75hPl+hlXOw2a34
f/KzVzK/Jjxl02NQPrBudTLI9mTJrEW7A4LQqXgEXCUBHIcaJ/PUP12RAftw
X-ME-Proxy: <xmx:7pgQa5xNq96tLeQy0pijtt4wJzDdF602JuWBLlsHd31P-u5s56EO5w>
<xmx:75gQayOxQHQG2MHjH4R84sulzUT6bf5bKfxjEC30BgnWX2j6-_LSrA>
<xmx:75gQa1TJjOJ67qu0YJamQ2DwE0Fvkixe6t5NlN3yjD3CwdFC_fe1ug>
<xmx:75gQa4bj1z8VsHQcTX2FKvu4vsVCVeamjyVqySChQt9JXhHORPvRPQ>
<xmx:75gQa3zLmfxmM0tAgqe1dfrPLl9gWCKLecBgtw7LKua_YshhIy2GkAoO>
X-Feedback-ID: i8b11424c:Fastmail
X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
2 Dec 2026 17:17:18 -0500 (EST)
X-Cc: Kristoffer Haugsbakk <code@khaugsbakk.name>
X-Mailer: git-send-email 2.56.1.5.g155936fbb2a
X-In-Reply-To: <CV_diff-tree_NUL_termination.def@m5gid.xyz>
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