summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-22 14:24:17 -0700
commit9c34129e6bd124ae0ec34fb4ace3fa00e22fded7 (patch)
tree3d464c4e9cea5b607ed837e6e6906241d17f468c
parentMerge branch 'nd/shared-index-fix' into maint (diff)
parentdoc: mention 'git show' defaults to HEAD (diff)
downloadtgif-9c34129e6bd124ae0ec34fb4ace3fa00e22fded7.tar.xz
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].