]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-log.txt
doc: log, gitk: document accepted line-log diff formats
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Thu, 26 Dec 2019 17:43:36 +0000 (17:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Dec 2019 19:00:13 +0000 (11:00 -0800)
commit2be45868a840f65ae16d171b5ae503846fa17b95
treea108ae35ef194f0b403da20cfbf0d08ea363d9bc
parentd9589d4051537c387b70dc76e430c61b4c85a86d
doc: log, gitk: document accepted line-log diff formats

Currently the line-log functionality (git log -L) only supports
displaying patch output (`-p | --patch`, its default behavior) and suppressing it
(`-s | --no-patch`). A check was added in the code to that effect in 5314efaea
(line-log: detect unsupported formats, 2019-03-10) but the documentation was not
updated.

Explicitly mention that `-L` implies `-p`, that patch output can be
suppressed using `-s`, and that all other diff formats are not allowed.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-log.txt
Documentation/gitk.txt