summaryrefslogtreecommitdiff
path: root/Documentation/git-show.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-11-09 09:45:16 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-09 09:45:16 -0800
commit6f10c4103dc7506623f89520ad03517b40788259 (patch)
tree76db51024713f6ef191928a8445d48d39ab55434 /Documentation/git-show.txt
parentMerge branch 'aw/git-p4-deletion' (diff)
parentDocumentation: document show -s (diff)
downloadtgif-6f10c4103dc7506623f89520ad03517b40788259.tar.xz
Merge branch 'maint'
* maint: Documentation: document show -s dir.c: fix EXC_FLAG_MUSTBEDIR match in sparse checkout
Diffstat (limited to 'Documentation/git-show.txt')
-rw-r--r--Documentation/git-show.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-show.txt b/Documentation/git-show.txt
index 2049c60f75..f0a8a1aff3 100644
--- a/Documentation/git-show.txt
+++ b/Documentation/git-show.txt
@@ -54,6 +54,10 @@ git show v1.0.0::
git show v1.0.0^\{tree\}::
Shows the tree pointed to by the tag `v1.0.0`.
+git show -s --format=%s v1.0.0^\{commit\}::
+ Shows the subject of the commit pointed to by the
+ tag `v1.0.0`.
+
git show next~10:Documentation/README::
Shows the contents of the file `Documentation/README` as
they were current in the 10th last commit of the branch