]> git.ipfire.org Git - thirdparty/git.git/commitdiff
diff-format.adoc: remove mention of diff-tree specific output
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Fri, 15 May 2026 15:48:09 +0000 (15:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 May 2026 13:21:37 +0000 (22:21 +0900)
In the "Raw output format" section, we start by mentioning that 'git
diff-tree' prints the hashes of what is being compared. This is only
true in --stdin mode, and is already mentioned in the description of
'--stdin' in git-diff-tree.adoc. Remove this sentence such that we only
focus on the common output between diff-tree, diff-index, diff-files and

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-format.adoc

index 9f7e98824183494575d32248215c71af71a2d3f1..7f18c64f1efc1f7810cb3004bea1385d87c7bf92 100644 (file)
@@ -19,9 +19,7 @@ compared differs:
 `git-diff-files [<pattern>...]`::
         compares the index and the files on the filesystem.
 
-The `git-diff-tree` command begins its output by printing the hash of
-what is being compared. After that, all the commands print one output
-line per changed file.
+All the commands print one output line per changed file.
 
 An output line is formatted this way: