summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-09 09:45:16 -0800
committerJunio C Hamano <gitster@pobox.com>2010-11-09 09:45:16 -0800
commit6f10c4103dc7506623f89520ad03517b40788259 (patch)
tree76db51024713f6ef191928a8445d48d39ab55434 /Documentation
parent3089c2b97a4d73866375a0ba815fc2fa4e2a1c1e (diff)
parent60aa9cf8f370b69eb7feaad2e1cbcd04280bc799 (diff)
downloadgit-6f10c4103dc7506623f89520ad03517b40788259.tar.gz
Merge branch 'maint'
* maint: Documentation: document show -s dir.c: fix EXC_FLAG_MUSTBEDIR match in sparse checkout
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-show.txt4
-rw-r--r--Documentation/rev-list-options.txt3
2 files changed, 7 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
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 7a42567060..1aaaf5ae8b 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -146,6 +146,9 @@ options may be given. See linkgit:git-diff-files[1] for more options.
-t::
Show the tree objects in the diff output. This implies '-r'.
+
+-s::
+ Suppress diff output.
endif::git-rev-list[]
Commit Limiting