From patchwork Thu Sep 12 04:11:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Stephen P. Smith" X-Patchwork-Id: 11142113 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76986112B for ; Thu, 12 Sep 2019 04:11:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 533A821479 for ; Thu, 12 Sep 2019 04:11:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725834AbfILELG (ORCPT ); Thu, 12 Sep 2019 00:11:06 -0400 Received: from omta015.useast.a.cloudfilter.net ([34.195.253.206]:39314 "EHLO omta015.useast.a.cloudfilter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbfILELG (ORCPT ); Thu, 12 Sep 2019 00:11:06 -0400 Received: from cxr.smtp.a.cloudfilter.net ([10.0.17.210]) by cmsmtp with ESMTP id 7zqziKc96Le2C8GRliMz4l; Thu, 12 Sep 2019 04:11:05 +0000 Received: from thunderbird.smith.home ([68.231.71.156]) by cmsmtp with ESMTPSA id 8GRiioeTaQvl08GRkiSmsP; Thu, 12 Sep 2019 04:11:05 +0000 Authentication-Results: cox.net; auth=pass (LOGIN) smtp.auth=ischis2@cox.net X-Authority-Analysis: v=2.3 cv=dvOl9Go4 c=1 sm=1 tr=0 a=3BwGCz7hYCwPRAPwzRnSaA==:117 a=3BwGCz7hYCwPRAPwzRnSaA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=J70Eh1EUuV4A:10 a=kviXuzpPAAAA:8 a=yx_lj6salmlCj44auFUA:9 a=qrIFiuKZe2vaD64auk6j:22 a=Z5ABNNGmrOfJ6cZ5bIyy:22 a=UDnyf2zBuKT2w-IlGP_r:22 Received: from thunderbird.smith.home (localhost [127.0.0.1]) by thunderbird.smith.home (Postfix) with ESMTP id 71EE5B81BD2; Wed, 11 Sep 2019 21:11:02 -0700 (MST) From: "Stephen P. Smith" To: git@vger.kernel.org Cc: Jeff King , Junio C Hamano Subject: [PATCH v2 2/2] test_date.c: Remove reference to GIT_TEST_DATE_NOW Date: Wed, 11 Sep 2019 21:11:02 -0700 Message-Id: <20190912041102.16266-3-ischis2@cox.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190912041102.16266-1-ischis2@cox.net> References: <20190909014711.3894-1-ischis2@cox.net> <20190912041102.16266-1-ischis2@cox.net> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfI5gi76S2drm/XgV/Ui4udRXDtUPJ1CUvQoQZFokMApwFmtOSakjS3PkkwSlJ2Pd1I1+T+vEbre7ziwCIz1bWPg6IdSZqVaGZFmwLAqOo9MyNZZhzIsl VnrqutzxKaM/H7NIgw2cxSRpURLLNmkptltQco+HXkwqw7SnxdXkFcvKYYrf7LIq5bQzuCMztjuGRxrN2V/2fI46t4HEaAvbB9xCH7SnkGE+XtqhmxAuqUns Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Remove the reference to the GIT_TEST_DATE_NOW which is done in date.c. We can't get rid of the "x" variable, since it serves as a generic scratch variable for parsing later in the function. Signed-off-by: Stephen P. Smith --- t/helper/test-date.c | 1 - 1 file changed, 1 deletion(-) diff --git a/t/helper/test-date.c b/t/helper/test-date.c index deb5869343..099eff4f0f 100644 --- a/t/helper/test-date.c +++ b/t/helper/test-date.c @@ -104,7 +104,6 @@ static void getnanos(const char **argv) int cmd__date(int argc, const char **argv) { const char *x; - x = getenv("GIT_TEST_DATE_NOW"); argv++; if (!*argv)