File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -833,7 +833,7 @@ <h2>EXAMPLES</h2>
833833< div class ="listingblock ">
834834< div class ="content ">
835835< pre > < tt > $ git diff --diff-filter=MRC < b > (1)</ b >
836- $ git diff --name-status -r < b > (2)</ b >
836+ $ git diff --name-status < b > (2)</ b >
837837$ git diff arch/i386 include/asm-i386 < b > (3)</ b > </ tt > </ pre >
838838</ div > </ div >
839839< ol >
@@ -846,10 +846,7 @@ <h2>EXAMPLES</h2>
846846< li >
847847< p >
848848show only names and the nature of change, but not actual
849- diff output. --name-status disables usual patch generation
850- which in turn also disables recursive behavior, so without -r
851- you would only see the directory name if there is a change in a
852- file in a subdirectory.
849+ diff output.
853850</ p >
854851</ li >
855852< li >
@@ -898,7 +895,7 @@ <h2>GIT</h2>
898895</ div >
899896< div id ="footer ">
900897< div id ="footer-text ">
901- Last updated 27 -Jul-2007 07:25:25 UTC
898+ Last updated 30 -Jul-2007 09:06:57 UTC
902899</ div >
903900</ div >
904901</ body >
Original file line number Diff line number Diff line change @@ -102,17 +102,14 @@ Limiting the diff output::
102102+
103103------------
104104$ git diff --diff-filter=MRC <1>
105- $ git diff --name-status -r <2>
105+ $ git diff --name-status <2>
106106$ git diff arch/i386 include/asm-i386 <3>
107107------------
108108+
109109<1> show only modification, rename and copy, but not addition
110110nor deletion.
111111<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.
116113<3> limit diff output to named subtrees.
117114
118115Munging the diff output::
Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ <h2>EXAMPLE</h2>
675675</ li >
676676< li >
677677< p >
678- Finally it examines < tt > $GIT_DIR/info/gitattributes </ tt > . This file
678+ Finally it examines < tt > $GIT_DIR/info/attributes </ tt > . This file
679679 is used to override the in-tree settings. The first line is
680680 a match, and < tt > foo</ tt > is set, < tt > bar</ tt > is reverted to unspecified
681681 state, and < tt > baz</ tt > is unset.
@@ -698,7 +698,7 @@ <h2>GIT</h2>
698698</ div >
699699< div id ="footer ">
700700< div id ="footer-text ">
701- Last updated 19 -Jul-2007 02:10:00 UTC
701+ Last updated 30 -Jul-2007 09:06:57 UTC
702702</ div >
703703</ div >
704704</ body >
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ the attributes given to path `t/abc` are computed as follows:
405405 and `bar` attributes should be given to this path, so it
406406 leaves `foo` and `bar` unset. Attribute `baz` is set.
407407
408- 3. Finally it examines `$GIT_DIR/info/gitattributes `. This file
408+ 3. Finally it examines `$GIT_DIR/info/attributes `. This file
409409 is used to override the in-tree settings. The first line is
410410 a match, and `foo` is set, `bar` is reverted to unspecified
411411 state, and `baz` is unset.
You can’t perform that action at this time.
0 commit comments