summaryrefslogtreecommitdiffstats
path: root/git-show.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-08-08 15:26:49 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-08 15:26:49 -0700
commite548d1b2c1b0ecaf83038da7b3098aa3c9466c0c (patch)
tree6022c61f9a7ded3a98b29c5424bf8dbb38868fe9 /git-show.html
parentadb9b58bf7b67b33fb06a5b6e7a385cb0a4ef837 (diff)
downloadgit-htmldocs-e548d1b2c1b0ecaf83038da7b3098aa3c9466c0c.tar.gz
Autogenerated HTML docs for v2.9.2-664-ga0a18
Diffstat (limited to 'git-show.html')
-rw-r--r--git-show.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/git-show.html b/git-show.html
index 1cf64a8a9..cc7f26a33 100644
--- a/git-show.html
+++ b/git-show.html
@@ -1277,12 +1277,18 @@ The title was &gt;&gt;t4119: test autocomputing -p&lt;n&gt; for traditional diff
</li>
<li>
<p>
-<em>%gD</em>: reflog selector, e.g., <code>refs/stash@{1}</code>
+<em>%gD</em>: reflog selector, e.g., <code>refs/stash@{1}</code> or
+ <code>refs/stash@{2 minutes ago</code>}; the format follows the rules described
+ for the <code>-g</code> option. The portion before the <code>@</code> is the refname as
+ given on the command line (so <code>git log -g refs/heads/master</code> would
+ yield <code>refs/heads/master@{0}</code>).
</p>
</li>
<li>
<p>
-<em>%gd</em>: shortened reflog selector, e.g., <code>stash@{1}</code>
+<em>%gd</em>: shortened reflog selector; same as <code>%gD</code>, but the refname
+ portion is shortened for human readability (so <code>refs/heads/master</code>
+ becomes just <code>master</code>).
</p>
</li>
<li>