doc: mention 'git show' defaults to HEAD
authorTodd Zullinger <tmz@pobox.com>
Sun, 28 Jan 2018 19:16:07 +0000 (14:16 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jan 2018 21:12:18 +0000 (13:12 -0800)
commit9f5258cbb8f8ed2bf86b0078f178a26adc572eb9
tree51c4349aa3a1a3d9b164fa7c3cf6621c35db1049
parentfc849d8d6b90e5c1e0c37bc0d60dd92b2fe7347f
doc: mention 'git show' defaults to HEAD

When 'git show' is called without any object it defaults to HEAD.  This
has been true since d4ed9793fd ("Simplify common default options setup
for built-in log family.", 2006-04-16).

The SYNOPSIS suggests that the object argument is required.  Clarify
that it is not required and note the default.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-show.txt