]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ew/for-each-ref-doc' into maint
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Feb 2016 22:54:19 +0000 (14:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Feb 2016 22:54:20 +0000 (14:54 -0800)
* ew/for-each-ref-doc:
  for-each-ref: document `creatordate` and `creator` fields

1  2 
Documentation/git-for-each-ref.txt

index d5e1781db71a8a993fc282034138ba16f77aaf48,338a6efa8157427a7411e3ffadbb145f915a2eaa..2e3e96f663e2ffa678f7242a661cf1f68f9c5d77
@@@ -154,16 -122,12 +159,16 @@@ The complete message in a commit and ta
  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
 -blank line.  Finally, the optional GPG signature is `contents:signature`.
 +blank line.  The optional GPG signature is `contents:signature`.  The
 +first `N` lines of the message is obtained using `contents:lines=N`.
  
- For sorting purposes, fields with numeric values sort in numeric
order (`objectsize`, `authordate`, `committerdate`, `taggerdate`).
+ For sorting purposes, fields with numeric values sort in numeric order
(`objectsize`, `authordate`, `committerdate`, `creatordate`, `taggerdate`).
  All other fields are used to sort in their byte-value order.
  
 +There is also an option to sort by versions, this can be done by using
 +the fieldname `version:refname` or its alias `v:refname`.
 +
  In any case, a field name that refers to a field inapplicable to
  the object referred by the ref does not cause an error.  It
  returns an empty string instead.