summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-13 21:39:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-13 21:39:17 (GMT)
commit8195303cc148650400643a93163f3080869aa956 (patch)
tree5836269843be4730415defde2ca2efec6f9d67f5
parent9cd5320d3cfb2c2841a76b36b20c18e9299206ab (diff)
parent9f5258cbb8f8ed2bf86b0078f178a26adc572eb9 (diff)
downloadgit-8195303cc148650400643a93163f3080869aa956.zip
git-8195303cc148650400643a93163f3080869aa956.tar.gz
git-8195303cc148650400643a93163f3080869aa956.tar.bz2
Merge branch 'tz/doc-show-defaults-to-head'
Doc update. * tz/doc-show-defaults-to-head: doc: mention 'git show' defaults to HEAD
-rw-r--r--Documentation/git-show.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt
index 82a4125..e73ef54 100644
--- a/Documentation/git-show.txt
+++ b/Documentation/git-show.txt
@@ -9,7 +9,7 @@ git-show - Show various types of objects
SYNOPSIS
--------
[verse]
-'git show' [options] <object>...
+'git show' [options] [<object>...]
DESCRIPTION
-----------
@@ -35,7 +35,7 @@ This manual page describes only the most frequently used options.
OPTIONS
-------
<object>...::
- The names of objects to show.
+ The names of objects to show (defaults to 'HEAD').
For a more complete list of ways to spell object names, see
"SPECIFYING REVISIONS" section in linkgit:gitrevisions[7].