Skip to content

Commit 03aa87e

Browse files
hashplinggitster
authored andcommitted
Documentation: Describe other situations where -z affects git diff
-z also alters the behaviour of --name-only and --name-status. Signed-off-by: Charles Bailey <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53b3c47 commit 03aa87e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/diff-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ Also, when `--raw` or `--numstat` has been given, do not munge
9494
pathnames and use NULs as output field terminators.
9595
endif::git-log[]
9696
ifndef::git-log[]
97-
When `--raw` or `--numstat` has been given, do not munge
98-
pathnames and use NULs as output field terminators.
97+
When `--raw`, `--numstat`, `--name-only` or `--name-status` has been
98+
given, do not munge pathnames and use NULs as output field terminators.
9999
endif::git-log[]
100100
+
101101
Without this option, each pathname output will have TAB, LF, double quotes,

0 commit comments

Comments
 (0)