Skip to content

Make "local" orthogonal to date format

John Keeping git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 3 repliesIn review
  2. v26 patches 20 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Documentation/blame-options: don't list date formatsDocumentation/blame-options.txt+2 -30 replies
2/11Documentation/config: don't list date formatsDocumentation/config.txt+1 -30 replies
3/11Documentation/git-for-each-ref: don't list date formatsDocumentation/git-for-each-ref.txt+2 -30 replies
4/11Documentation/rev-list: don't list date formatsDocumentation/git-rev-list.txt Documentation/rev-list-options.txt+2 -21 reply
5/11fast-import: switch crash-report date to iso8601fast-import.c+1 -10 replies
6/11t6300: introduce test_date() helpert/t6300-for-each-ref.sh+40 -520 replies
7/11t6300: add test for "raw" date formatt/t6300-for-each-ref.sh+4 -00 replies
8/11date: check for "local" before anything elsedate.c+3 -31 reply
9/11date: make "local" orthogonal to date formatDocumentation/rev-list-options.txt builtin/blame.c cache.h +1 more+61 -330 replies
10/11t6300: make UTC and local dates differentt/t6300-for-each-ref.sh+35 -350 replies
11/11t6300: add tests for "-local" date formatst/t6300-for-each-ref.sh+36 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/11] Make "local" orthogonal to date format

Since version 2 there are four new preparatory patches which remove lists of date formats from documentation in favour of referring to the detailed list in git-rev-list(1) or git-log(1) (both generated from Documentation/rev-list-options.txt) depending on whether the page in question is plumbing/porcelain.

I've also reordered the test cleanup patches earlier so that the test for "--date=raw" is added before the new patch that moves "local" processing before the "raw" case. The tests also now wrap long lines and a missing "&&" has been added.

In patch 7 (date: check for "local" before anything else), we no longer reject "relative-local" and "raw-local" now prints the user's local timezone offset. The error message for invalid formats that are prefixed with a valid format name is now the same as that if there is no valid prefix.

Jeff King (2):
fast-import: switch crash-report date to iso8601
date: make "local" orthogonal to date format

John Keeping (9):
Documentation/blame-options: don't list date formats Documentation/config: don't list date formats Documentation/git-for-each-ref: don't list date formats Documentation/rev-list: don't list date formats
t6300: introduce test_date() helper
t6300: add test for "raw" date format
date: check for "local" before anything else
t6300: make UTC and local dates different
t6300: add tests for "-local" date formats

 Documentation/blame-options.txt    |   5 +-
 Documentation/config.txt           |   4 +-
 Documentation/git-for-each-ref.txt |   5 +-
 Documentation/git-rev-list.txt     |   2 +-
 Documentation/rev-list-options.txt |  23 ++++--
 builtin/blame.c                    |   1 -
 cache.h                            |   2 +-
 date.c                             |  74 ++++++++++-------
 fast-import.c                      |   2 +-
 t/t6300-for-each-ref.sh            | 162 ++++++++++++++++++++++---------------
 10 files changed, 166 insertions(+), 114 deletions(-)
Signature · 1 line
2.5.0.466.g9af26fa