X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Documentation%2Fdiff-format.txt;h=15c7e794f4adaccb8885683946a9f4e7e4dc92c2;hb=7e7db5e4520388d3a6f1efbe2f7a29d43bd06a2b;hp=1eeb1c76838c1911fc4d57b36a16dece0538809a;hpb=00d3278c8534a8244ae3447189401111e017fd5d;p=git.git diff --git a/Documentation/diff-format.txt b/Documentation/diff-format.txt index 1eeb1c768..15c7e794f 100644 --- a/Documentation/diff-format.txt +++ b/Documentation/diff-format.txt @@ -1,4 +1,7 @@ -The output format from "git-diff-index", "git-diff-tree", +Raw output format +----------------- + +The raw output format from "git-diff-index", "git-diff-tree", "git-diff-files" and "git diff --raw" are very similar. These commands all compare two sets of things; what is @@ -16,6 +19,9 @@ git-diff-tree [-r] [...]:: git-diff-files [...]:: 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. An output line is formatted this way: