git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] Date test code clean-up
@ 2019-09-09  1:47 Stephen P. Smith
  2019-09-09  1:47 ` [PATCH 1/2] Quit passing 'now' to date code Stephen P. Smith
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Stephen P. Smith @ 2019-09-09  1:47 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-09-13 17:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-09  1:47 [PATCH 0/2] Date test code clean-up Stephen P. Smith
2019-09-09  1:47 ` [PATCH 1/2] Quit passing 'now' to date code Stephen P. Smith
2019-09-09 17:28   ` Jeff King
2019-09-09  1:47 ` [PATCH 2/2] test_date.c: Remove reference to GIT_TEST_DATE_NOW Stephen P. Smith
2019-09-09 17:29   ` Jeff King
2019-09-09 19:44     ` Junio C Hamano
2019-09-09 18:32 ` [PATCH 0/2] Date test code clean-up Junio C Hamano
2019-09-12  4:11 ` [PATCH v2 " Stephen P. Smith
2019-09-12  4:11   ` [PATCH v2 1/2] Quit passing 'now' to date code Stephen P. Smith
2019-09-12  4:11   ` [PATCH v2 2/2] test_date.c: Remove reference to GIT_TEST_DATE_NOW Stephen P. Smith
2019-09-13  5:08   ` [PATCH v2 0/2] Date test code clean-up Jeff King
2019-09-13 17:25     ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).