Code

Clarify and correct -z
authorBjörn Gustavsson <bgustavsson@gmail.com>
Sun, 22 Nov 2009 19:43:20 +0000 (20:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Nov 2009 20:08:00 +0000 (12:08 -0800)
commit64485b4aba98b39f2cf4528aed95b6ddca62f332
treec7fff38d377f34d00cba6a20eed17e528c506624
parent39add7a36feca434ba85267cb76e4fd69bcdc13a
Clarify and correct -z

The description for -z is too vague and general for the
apply, diff*, and log commands.

Change the description of -z for 'git log' to note that
commits will be separated by NULs.

Change the description of -z for 'git diff*' and 'git apply'
to note that it applies to the --numstat option, and for
'git diff*' also for --raw option.

Also correct the description of the "munging" of pathanmes that
takes place in the absence of -z for the 'git diff*' and
'git apply' commands, namely that apart from the characters mentioned,
double quotes will also be escaped and that the pathname will be
enclosed in double quotes if any characters are escaped.

Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
Documentation/git-apply.txt