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

1 messages from 2005-05-28 to 2005-05-28. Participants: Thomas Glanzmann.
Thread: https://gitlist.dev/t/750

## Thomas Glanzmann, 2005-05-28 14:55

Subject: [PATCH] Document the --root switch of git-diff-tree (try 4)
Message-ID: <20050528145507.GA21789@cip.informatik.uni-erlangen.de>
URL: https://gitlist.dev/e/20050528145507.GA21789%40cip.informatik.uni-erlangen.de

```
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>

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

```
