Skip to content

Commit

Permalink
Documentation/git-for-each-ref: don't list date formats
Browse files Browse the repository at this point in the history
We are about to add a new set of supported date formats and do not want
to have to maintain the same list in several different bits of
documentation.  Refer to git-rev-list(1) which contains the full list of
supported formats.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
John Keeping authored and Junio C Hamano committed Sep 3, 2015
1 parent 78a8441 commit 8f50d26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Documentation/git-for-each-ref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ the object referred by the ref does not cause an error. It
returns an empty string instead.

As a special case for the date-type fields, you may specify a format for
the date by adding one of `:default`, `:relative`, `:short`, `:local`,
`:iso8601`, `:rfc2822` or `:raw` to the end of the fieldname; e.g.
`%(taggerdate:relative)`.
the date by adding `:` followed by date format name (see the
values the `--date` option to linkgit::git-rev-list[1] takes).


EXAMPLES
Expand Down

0 comments on commit 8f50d26

Please sign in to comment.