Documentation/git-diff: remove -r from --name-status example
Calling 'git-diff --name-status' will recursively show any changes already, and it has for quite some time (at least as far back as v1.4.1). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Jul 28, 2007 at 20:24 UTC
90ae710e0b642b177d44df4528966c7ae37ebf5f
1 file changed
+2
-5
Documentation/git-diff.txt
+2
-5
@@ -102,17 +102,14 @@ Limiting the diff output::
102
+
103
------------
104
$ git diff --diff-filter=MRC <1>
105
-$ git diff --name-status -r <2>
105
+$ git diff --name-status <2>
106
$ git diff arch/i386 include/asm-i386 <3>
107
------------
108
+
109
<1> show only modification, rename and copy, but not addition
110
nor deletion.
111
<2> show only names and the nature of change, but not actual
112
-diff output. --name-status disables usual patch generation
113
-which in turn also disables recursive behavior, so without -r
114
-you would only see the directory name if there is a change in a
115
-file in a subdirectory.
112
+diff output.
113
<3> limit diff output to named subtrees.
114
115
Munging the diff output::