[PATCH v3 03/11] Documentation/git-for-each-ref: don't list date formats
- From
John Keeping <john@keeping.me.uk>
- Date
- Sep 3, 2015, 21:48 UTC
- Message-ID
- <d246532e4fbcecdf7b826added2dd88f3afe8e09.1441316394.git.john@keeping.me.uk>
- In-Reply-To
- <cover.1441316394.git.john@keeping.me.uk>
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> --- Documentation/git-for-each-ref.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt index 7f8d9a5..d062639 100644 --- a/Documentation/git-for-each-ref.txt +++ b/Documentation/git-for-each-ref.txt @@ -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
-- 2.5.0.466.g9af26fa