Paul Mackerras <paulus@xxxxxxxxx> writes: > Junio C Hamano writes: > >> There was a recent message from Linus on the list, stating that >> NUL in -z format is inter-record separator, not after-record >> terminator. > > OK, I'll have to change gitk then. It looks like both Marco and I got > tricked by this. I suggest it's worth a mention in the documentation. I think that is indeed necessary. How about this? --- diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 8216576..228ccaf 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -43,7 +43,9 @@ Synonym for "-p --stat". -z:: - \0 line termination on output + NUL-line termination on output. This affects the --raw + output field terminator. Also output from commands such + as "git-log" will be delimited with NUL between commits. --name-only:: Show only names of changed files. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html