threads / patch / 750

patchDocument the --root switch of git-diff-tree (try 4)

Subject: [PATCH] Document the --root switch of git-diff-tree (try 4)

## tl;dr

One message between May 28, 2005 and May 28, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Thomas Glanzmann· May 28, 2005, 14:55 UTC · lore
diff-tree a63bd10cbec0978c4d1d0076db4f06c52c670449 (from 8310c2c0b585d3ac35a275f795e15fd9887e8b7d)
Author: Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
Date:   Sat May 28 16:37:28 2005 +0200
    
    [PATCH] Document the --root switch of git-diff-tree
    
    Signed-off-by: Thomas Glanzmann <sithglan@stud.uni-erlangen.de>
Show changes to Documentation/git-diff-tree.txt +4 −0
diff --git a/Documentation/git-diff-tree.txt b/Documentation/git-diff-tree.txt
--- a/Documentation/git-diff-tree.txt
+++ b/Documentation/git-diff-tree.txt
@@ -54,6 +54,10 @@ OPTIONS
 -z::
 	\0 line termination on output
 
+--root::
+	When '--root' is specified the initial commit will be shown as a big
+	creation event. This is equivalent to a diff against the NULL tree.
+
 --stdin::
 	When '--stdin' is specified, the command does not take
 	<tree-ish> arguments from the command line.  Instead, it

← back to recent threads