Skip to content

Commit ced1f08

Browse files
ttaylorrgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 85cd4bb commit ced1f08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/git-for-each-ref.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ and `date` to extract the named component.
213213
The complete message in a commit and tag object is `contents`.
214214
Its first line is `contents:subject`, where subject is the concatenation
215215
of all lines of the commit message up to the first blank line. The next
216-
line is 'contents:body', where body is all of the lines after the first
216+
line is `contents:body`, where body is all of the lines after the first
217217
blank line. The optional GPG signature is `contents:signature`. The
218218
first `N` lines of the message is obtained using `contents:lines=N`.
219219
Additionally, the trailers as interpreted by linkgit:git-interpret-trailers[1]
220-
are obtained as 'trailers' (or by using the historical alias
221-
'contents:trailers').
220+
are obtained as `trailers` (or by using the historical alias
221+
`contents:trailers`).
222222

223223
For sorting purposes, fields with numeric values sort in numeric order
224224
(`objectsize`, `authordate`, `committerdate`, `creatordate`, `taggerdate`).

0 commit comments

Comments
 (0)