]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation: usage for diff combined commits
authorChris Torek <chris.torek@gmail.com>
Fri, 12 Jun 2020 16:20:00 +0000 (16:20 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jun 2020 17:53:44 +0000 (10:53 -0700)
commitb7e10b2ca210d6a3647910fdecea33581e4eaf0d
tree9aa91d4091a4a239cb0dfbf67294a8f6a1eee993
parent8bfcb3a690126e6222f0d4f7012b0f68bb748018
Documentation: usage for diff combined commits

Document the usage for producing combined commits with "git diff".
This includes updating the synopsis section.

While here, add the three-dot notation to the synopsis.

Make "git diff -h" print the same usage summary as the manual
page synopsis, minus the "A..B" form, which is now discouraged.

Signed-off-by: Chris Torek <chris.torek@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-diff.txt
builtin/diff.c