Skip to content
  • Stephen P. Smith's avatar
    Quit passing 'now' to date code · 29f4332e
    Stephen P. Smith authored and Junio C Hamano's avatar Junio C Hamano committed
    Commit b841d4ff
    
     (Add `human` format to test-tool, 2019-01-28) added
    a get_time() function which allows $GIT_TEST_DATE_NOW in the
    environment to override the current time. So we no longer need to
    interpret that variable in cmd__date().
    
    Therefore, we can stop passing the "now" parameter down through the
    date functions, since nobody uses them. Note that we do need to make
    sure all of the previous callers that took a "now" parameter are
    correctly using get_time().
    
    Signed-off-by: default avatarStephen P. Smith <ischis2@cox.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    29f4332e