Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Documentation/log: clarify what --raw means

From: Matthieu Moy <hidden>
Date: 2016-06-15 23:04:48

Junio C Hamano [off-list ref] writes:
Matthieu Moy [off-list ref] writes:
quoted
There are several "raw formats", and describing --raw as "Generate the
raw format" in the documentation for git-log seems to imply that it
generates the raw *log* format.

Clarify the wording by saying "raw diff format" explicitely, and make a
special-case for "git log": "git log --raw" does not just change the
format, it shows something which is not shown by default.
Being a pedant, I find "generate the raw diff format" somewhat a
strange wording.  Aren't we generating a diff in the raw format (as
opposed to in other format like the textual patch format),
generating a diff using the raw format, etc.?
I think I chose this wording because I didn't want to say "raw format"
for git-log(1), but then I added more special-cases for git-log.

I changed it to

ifndef::git-log[]
	Generate the diff in raw format.
	{git-diff-core? This is the default.}

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help