summaryrefslogtreecommitdiff
path: root/Documentation/git-for-each-ref.txt
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2017-10-01 16:18:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-10-02 06:35:49 (GMT)
commitced1f08b7b0b625a3ce21185573c80e7ada1e3fa (patch)
tree8b4acf964db5d9d2e61d702684f9ccaefa85b98d /Documentation/git-for-each-ref.txt
parent85cd4bb319605e3a18f08242d49562ffb3729123 (diff)
downloadgit-ced1f08b7b0b625a3ce21185573c80e7ada1e3fa.zip
git-ced1f08b7b0b625a3ce21185573c80e7ada1e3fa.tar.gz
git-ced1f08b7b0b625a3ce21185573c80e7ada1e3fa.tar.bz2
doc: use "`<literal>`"-style quoting for literal strings
"'<string>'"-style quoting is not appropriate when quoting literal strings in the "Documentation/" subtree. In preparation for adding additional information to this section of git-for-each-ref(1)'s documentation, update them to use "`<literal>`" instead. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-for-each-ref.txt')
-rw-r--r--Documentation/git-for-each-ref.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
index 323ce07..1279b97 100644
--- a/Documentation/git-for-each-ref.txt
+++ b/Documentation/git-for-each-ref.txt
@@ -213,12 +213,12 @@ and `date` to extract the named component.
The complete message in a commit and tag object is `contents`.
Its first line is `contents:subject`, where subject is the concatenation
of all lines of the commit message up to the first blank line. The next
-line is 'contents:body', where body is all of the lines after the first
+line is `contents:body`, where body is all of the lines after the first
blank line. The optional GPG signature is `contents:signature`. The
first `N` lines of the message is obtained using `contents:lines=N`.
Additionally, the trailers as interpreted by linkgit:git-interpret-trailers[1]
-are obtained as 'trailers' (or by using the historical alias
-'contents:trailers').
+are obtained as `trailers` (or by using the historical alias
+`contents:trailers`).
For sorting purposes, fields with numeric values sort in numeric order
(`objectsize`, `authordate`, `committerdate`, `creatordate`, `taggerdate`).