From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=1.4 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,LIST_MIRROR_RECEIVED,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 227831F852 for ; Fri, 4 Feb 2022 23:53:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378342AbiBDXxP (ORCPT ); Fri, 4 Feb 2022 18:53:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378292AbiBDXxM (ORCPT ); Fri, 4 Feb 2022 18:53:12 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE5A7C103DFB for ; Fri, 4 Feb 2022 15:53:11 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id u15so14091148wrt.3 for ; Fri, 04 Feb 2022 15:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5iR5X2y5OvtUAZcKm2+js850VNVqvo8pdy2WJ7qA6Ew=; b=gKEw51/R/c9S/Ug+f04GClVD6LDy75Rk603U/oXgXgJDCBMPvheo2qwqQqbmO3rybo DnlirHBvVbexRES22uVWvsljBxU3bNJemtFusA+BxBtbqpIwAWvvLo/eLsHBipj+5WxH OW62a1Bulhdr4bmbSSO9pwbHHgDptBg/MFZS2/DkPhGfovXoY078K1pWzfGKDaDZClpK I0MgFdMXIOGAgFXsM9n74PyDQXehCLzQtvDa5NyPz5GLmF8QqYhhJsvd4WqRELASjb/+ kFmQpybGuNOiFSnBE1CJqM0ZVT9iQV+GvWNBXjYp+cZ5ZiFyDYPij1dMQ7XvrcMMrQru 1eLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5iR5X2y5OvtUAZcKm2+js850VNVqvo8pdy2WJ7qA6Ew=; b=Bs/66WfgeJIh2/Ybd6dFF2dWtgM+3av9cBrkhL6SXE1xWUECitYlEHErc3ZfnKSDnG KvKh6j3zJMiNre0GAUf7OUVjxhp8VPTj9UvXyE+omOAgrIY6RDf1mYExMJK1tFbz/slT E2wFJmS+qrfGMfc3eOMyUdaLVUjqDYxyUzrv/Tmy4b4FkikS/09Fws/uB0M9ufJVT775 CF5Apo67RAear1UN5eW7rPau/YCrBIm6hIwZT1Acb/29z14houVG8D9El4LuqQR++u+j g/KyOLyFyt6G5cQ6O+x9eIy24LPwyz8rVA5vZktlW8l2xN+eZdw5Fj6TUaBWN655iMNJ nVIg== X-Gm-Message-State: AOAM533kc79r7FZSIYHZRl96C0lsx2lzIxle608U/p0EznC81NrdZOIb YMNUay2hV7/CH0EfvwJXpZOnAah2+A6ZYA== X-Google-Smtp-Source: ABdhPJziFCuYUEHcJzqrEJqvQBn3f2c0fW6t8CSkeOotopkDuLilTrnmeqqYYiQGPvF5V2I4wmxoAA== X-Received: by 2002:a5d:64c2:: with SMTP id f2mr961352wri.429.1644018790149; Fri, 04 Feb 2022 15:53:10 -0800 (PST) Received: from vm.nix.is (vm.nix.is. [2a01:4f8:120:2468::2]) by smtp.gmail.com with ESMTPSA id a18sm3304507wrw.5.2022.02.04.15.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 15:53:09 -0800 (PST) From: =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= To: git@vger.kernel.org Cc: Junio C Hamano , Jeff King , =?UTF-8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Subject: [PATCH v2 1/5] cache.h: remove always unused show_date_human() declaration Date: Sat, 5 Feb 2022 00:53:02 +0100 Message-Id: X-Mailer: git-send-email 2.35.1.940.ge7a5b4b05f2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org There has never been a show_date_human() function on the "master" branch in git.git. This declaration was added in b841d4ff438 (Add `human` format to test-tool, 2019-01-28). A look at the ML history reveals that it was leftover cruft from an earlier version of that commit[1]. 1. https://lore.kernel.org/git/20190118061805.19086-5-ischis2@cox.net/ Signed-off-by: Ævar Arnfjörð Bjarmason --- cache.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/cache.h b/cache.h index 281f00ab1b1..49b46244c74 100644 --- a/cache.h +++ b/cache.h @@ -1586,8 +1586,6 @@ struct date_mode *date_mode_from_type(enum date_mode_type type); const char *show_date(timestamp_t time, int timezone, const struct date_mode *mode); void show_date_relative(timestamp_t time, struct strbuf *timebuf); -void show_date_human(timestamp_t time, int tz, const struct timeval *now, - struct strbuf *timebuf); int parse_date(const char *date, struct strbuf *out); int parse_date_basic(const char *date, timestamp_t *timestamp, int *offset); int parse_expiry_date(const char *date, timestamp_t *timestamp); -- 2.35.1.940.ge7a5b4b05f2