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 <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
53b3c47d64
commit
03aa87ed99
@ -94,8 +94,8 @@ Also, when `--raw` or `--numstat` has been given, do not munge
|
|||||||
pathnames and use NULs as output field terminators.
|
pathnames and use NULs as output field terminators.
|
||||||
endif::git-log[]
|
endif::git-log[]
|
||||||
ifndef::git-log[]
|
ifndef::git-log[]
|
||||||
When `--raw` or `--numstat` has been given, do not munge
|
When `--raw`, `--numstat`, `--name-only` or `--name-status` has been
|
||||||
pathnames and use NULs as output field terminators.
|
given, do not munge pathnames and use NULs as output field terminators.
|
||||||
endif::git-log[]
|
endif::git-log[]
|
||||||
+
|
+
|
||||||
Without this option, each pathname output will have TAB, LF, double quotes,
|
Without this option, each pathname output will have TAB, LF, double quotes,
|
||||||
|
Reference in New Issue
Block a user