From: Charles Bailey Date: Sun, 18 Apr 2010 18:28:17 GMT Subject: [PATCH v2 3/3] Documentation: Describe other situations where -z affects git diff Message-ID: <20100418182817.GC29329@hashpling.org> In-Reply-To: <9eaa7a4672f2010c9e6e3b3f473f1c09abcfcc45.1271614677.git.charles@hashpling.org> -z also alters the behaviour of --name-only and --name-status. Signed-off-by: Charles Bailey --- As I'm relying on diff --name-only -z "doing the right thing", I quite wanted it to be part of the documented interface. Documentation/diff-options.txt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 60e922e..c9c6c2b 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -94,8 +94,8 @@ Also, when `--raw` or `--numstat` has been given, do not munge pathnames and use NULs as output field terminators. endif::git-log[] ifndef::git-log[] - When `--raw` or `--numstat` has been given, do not munge - pathnames and use NULs as output field terminators. + When `--raw`, `--numstat`, `--name-only` or `--name-status` has been + given, do not munge pathnames and use NULs as output field terminators. endif::git-log[] + Without this option, each pathname output will have TAB, LF, double quotes, -- 1.7.1.rc1.241.g4e72f