@@ -146,6 +146,11 @@ In addition to the above, for commit and tag objects, the header
146
146
field names (`tree`, `parent`, `object`, `type`, and `tag`) can
147
147
be used to specify the value in the header field.
148
148
149
+ For commit and tag objects, the special `creatordate` and `creator`
150
+ fields will correspond to the appropriate date or name-email-date tuple
151
+ from the `committer` or `tagger` fields depending on the object type.
152
+ These are intended for working on a mix of annotated and lightweight tags.
153
+
149
154
Fields that have name-email-date tuple as its value (`author`,
150
155
`committer`, and `tagger`) can be suffixed with `name`, `email`,
151
156
and `date` to extract the named component.
@@ -157,8 +162,8 @@ line is 'contents:body', where body is all of the lines after the first
157
162
blank line. The optional GPG signature is `contents:signature`. The
158
163
first `N` lines of the message is obtained using `contents:lines=N`.
159
164
160
- For sorting purposes, fields with numeric values sort in numeric
161
- order (`objectsize`, `authordate`, `committerdate`, `taggerdate`).
165
+ For sorting purposes, fields with numeric values sort in numeric order
166
+ (`objectsize`, `authordate`, `committerdate`, `creatordate `, `taggerdate`).
162
167
All other fields are used to sort in their byte-value order.
163
168
164
169
There is also an option to sort by versions, this can be done by using
0 commit comments