summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-03-22 14:24:17 -0700
committerJunio C Hamano <gitster@pobox.com>2018-03-22 14:24:17 -0700
commit9c34129e6bd124ae0ec34fb4ace3fa00e22fded7 (patch)
tree3d464c4e9cea5b607ed837e6e6906241d17f468c
parent3112c3fa7fdc7209e4c832a9faf4f023e97a4f5e (diff)
parent9f5258cbb8f8ed2bf86b0078f178a26adc572eb9 (diff)
downloadgit-9c34129e6bd124ae0ec34fb4ace3fa00e22fded7.tar.gz
Merge branch 'tz/doc-show-defaults-to-head' into maint
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 82a4125a2d..e73ef54017 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].