Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-05 23:36:22 +0400
committerJunio C Hamano <gitster@pobox.com>2011-10-05 23:36:22 +0400
commit4e20e3679961bfffc379be471a7d981f8de45772 (patch)
treec898112d3997cd981dbc349410e9ea31176a6d6c /Documentation
parente99f8c6dcf0f924f1a7702bdd2d6f50e9fbb8fbb (diff)
parente2b239722a5806521016835f86e6c29c630a0e60 (diff)
Merge branch 'jk/for-each-ref'
* jk/for-each-ref: for-each-ref: add split message parts to %(contents:*). for-each-ref: handle multiline subjects like --pretty for-each-ref: refactor subject and body placeholder parsing t6300: add more body-parsing tests t7004: factor out gpg setup
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-for-each-ref.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
index 152e695c81..c872b883ba 100644
--- a/Documentation/git-for-each-ref.txt
+++ b/Documentation/git-for-each-ref.txt
@@ -101,9 +101,10 @@ Fields that have name-email-date tuple as its value (`author`,
`committer`, and `tagger`) can be suffixed with `name`, `email`,
and `date` to extract the named component.
-The first line of the message in a commit and tag object is
-`subject`, the remaining lines are `body`. The whole message
-is `contents`.
+The complete message in a commit and tag object is `contents`.
+Its first line is `contents:subject`, the remaining lines
+are `contents:body` and the optional GPG signature
+is `contents:signature`.
For sorting purposes, fields with numeric values sort in numeric
order (`objectsize`, `authordate`, `committerdate`, `taggerdate`).