summaryrefslogtreecommitdiffstats
path: root/git-for-each-ref.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-10-11 15:33:37 +0900
committerJunio C Hamano <gitster@pobox.com>2017-10-11 15:33:37 +0900
commit1171ab4652351c5e6fed9f3a08056ef6aabddb92 (patch)
treebdd43ea04fa5c06ced83504dbe6c6d3c6262626d /git-for-each-ref.html
parentd8dc0b56b66fea3957211f032039c350d72131b9 (diff)
downloadgit-htmldocs-1171ab4652351c5e6fed9f3a08056ef6aabddb92.tar.gz
Autogenerated HTML docs for v2.15.0-rc1
Diffstat (limited to 'git-for-each-ref.html')
-rw-r--r--git-for-each-ref.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/git-for-each-ref.html b/git-for-each-ref.html
index fd70b38d1..1071468c8 100644
--- a/git-for-each-ref.html
+++ b/git-for-each-ref.html
@@ -1080,11 +1080,15 @@ and <code>date</code> to extract the named component.</p></div>
<div class="paragraph"><p>The complete message in a commit and tag object is <code>contents</code>.
Its first line is <code>contents:subject</code>, where subject is the concatenation
of all lines of the commit message up to the first blank line. The next
-line is <em>contents:body</em>, where body is all of the lines after the first
+line is <code>contents:body</code>, where body is all of the lines after the first
blank line. The optional GPG signature is <code>contents:signature</code>. The
first <code>N</code> lines of the message is obtained using <code>contents:lines=N</code>.
Additionally, the trailers as interpreted by <a href="git-interpret-trailers.html">git-interpret-trailers(1)</a>
-are obtained as <em>contents:trailers</em>.</p></div>
+are obtained as <code>trailers</code> (or by using the historical alias
+<code>contents:trailers</code>). Non-trailer lines from the trailer block can be omitted
+with <code>trailers:only</code>. Whitespace-continuations can be removed from trailers so
+that each trailer appears on a line by itself with its full content with
+<code>trailers:unfold</code>. Both can be used together as <code>trailers:unfold,only</code>.</p></div>
<div class="paragraph"><p>For sorting purposes, fields with numeric values sort in numeric order
(<code>objectsize</code>, <code>authordate</code>, <code>committerdate</code>, <code>creatordate</code>, <code>taggerdate</code>).
All other fields are used to sort in their byte-value order.</p></div>
@@ -1217,7 +1221,7 @@ This prints the authorname, if present.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-10-07 16:46:57 JST
+Last updated 2017-10-11 15:31:05 JST
</div>
</div>
</body>