Code

diff -p: squelch "diff --git" header for stat-dirty paths
[git.git] / Documentation / git-show.txt
index 2049c60f75aeb5ae325a49e3eb3c7e7132fec193..f0a8a1aff3694cf00587d8670a8fe9962fe98af3 100644 (file)
@@ -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