@matheusbsbs / matheus-bagliano / commits / 03aa87ed99
Fork 0

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>

Charles Bailey committed Apr 18, 2010 at 19:28 UTC 03aa87ed9912a6beac1a23e69ef0b70e1589d3d0
1 file changed +2 -2
Documentation/diff-options.txt
+2 -2
@@ -94,8 +94,8 @@ Also, when `--raw` or `--numstat` has been given, do not munge
94 pathnames and use NULs as output field terminators.
95 endif::git-log[]
96 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.
99 endif::git-log[]
100 +
101 Without this option, each pathname output will have TAB, LF, double quotes,