git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Date test code clean-up

From
SSStephen P. Smith <ischis2@cox.net>
Date
Sep 9, 2019, 01:47 UTC
Message-ID
<20190909014711.3894-1-ischis2@cox.net>

As part of a previous patch submission[1], a cleanup patch was suggested to remove a now unnecessary passing of a date environment variable to the production code.

While the two patches in the set could easily be submitted as a single patch, I split the removal of the getenv() call into a second patch. I did that to make the comment about the initialization of `x` more localized to the change.

[1] https://public-inbox.org/git/xmqq5zuge2y7.fsf@gitster-ct.c.googlers.com
Stephen P. Smith (2):
  Quit passing 'now' to date code
  test_date.c: Remove reference to GIT_TEST_DATE_NOW
 cache.h              |  5 ++---
 date.c               | 27 +++++++++++++--------------
 t/helper/test-date.c | 27 +++++++++------------------
 3 files changed, 24 insertions(+), 35 deletions(-)
-- 
2.23.0
Next: Stephen P. Smith
Message 1 of 12 in “Date test code clean-up”
  1. 0/2 Date test code clean-upStephen P. Smith, Sep 9, 2019
  2. 2/2 test_date.c: Remove reference to GIT_TEST_DATE_NOWStephen P. Smith, Sep 9, 2019
  3. Jeff KingSep 9, 2019
  4. Junio C HamanoSep 9, 2019
  5. 1/2 Quit passing 'now' to date codeStephen P. Smith, Sep 9, 2019
  6. Jeff KingSep 9, 2019
  7. Junio C HamanoSep 9, 2019
  8. 0/2 Date test code clean-upStephen P. Smith, Sep 12, 2019
  9. 2/2 test_date.c: Remove reference to GIT_TEST_DATE_NOWStephen P. Smith, Sep 12, 2019
  10. 1/2 Quit passing 'now' to date codeStephen P. Smith, Sep 12, 2019
  11. Jeff KingSep 13, 2019
  12. Junio C HamanoSep 13, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.