From: kristofferhaugsbakk@fastmail.com Date: Wed, 02 Dec 2026 22:14:18 GMT Subject: [PATCH 10/12] doc: diff-tree: tell about --no-commit-id in Description Message-ID: <--no-commit-id.df9@m5gid.xyz> In-Reply-To: From: Kristoffer Haugsbakk 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 --- 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 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