Skip to content

Commit 8f50d26

Browse files
johnkeepinggitster
authored andcommitted
Documentation/git-for-each-ref: don't list date formats
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 78a8441 commit 8f50d26

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Documentation/git-for-each-ref.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,8 @@ the object referred by the ref does not cause an error. It
134134
returns an empty string instead.
135135

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

141140

142141
EXAMPLES

0 commit comments

Comments
 (0)