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=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_CSS,URIBL_CSS_A shortcircuit=no autolearn=ham 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 82CF61F8C4 for ; Tue, 29 Mar 2022 19:05:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240826AbiC2THQ (ORCPT ); Tue, 29 Mar 2022 15:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240832AbiC2THP (ORCPT ); Tue, 29 Mar 2022 15:07:15 -0400 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20D22122991 for ; Tue, 29 Mar 2022 12:05:29 -0700 (PDT) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 77F3119BED2; Tue, 29 Mar 2022 15:05:29 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=YO6wwDhKZYWs1kVFe03SON6/gaHjPsQcdil40p CTfCM=; b=ZqhXfW9qR/QCCxjbMhg+bpT2kAGaWLwac6ABh1hlRLHC1gu1QHGLfI GDozyKzUV03bcJx3HFDYENZJnJQeCvikSk4gAzzsmrdTLnVfU2K0Fpe0TwpXhdfx /dsS1D4BrZ9XlTIofAqBWfLrkXxuF1NP7CTr8C5xmCDNHIfgMYpzo= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 726AA19BED1; Tue, 29 Mar 2022 15:05:29 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.227.145.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id DAD9E19BECF; Tue, 29 Mar 2022 15:05:26 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Derrick Stolee Cc: Victoria Dye via GitGitGadget , git@vger.kernel.org, reichemn@icloud.com, Victoria Dye Subject: Re: [PATCH v2] mv: refresh stat info for moved entry References: <5ca04e86-6c61-3d4e-88a0-a3c827e19e13@github.com> Date: Tue, 29 Mar 2022 12:05:25 -0700 In-Reply-To: (Derrick Stolee's message of "Tue, 29 Mar 2022 14:54:57 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 319D7E18-AF93-11EC-914B-CBA7845BAAA9-77302942!pb-smtp21.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Derrick Stolee writes: >> Does "test-tool chmtime" to tweak the filesystem timestamp help? I >> didn't look at the specific step that uses sleep to work around. > > The issue here is related to ctime, which is not modified by that > helper. It also uses utime() which does not seem to have a way to > modify ctime (which makes sense). Ahh, silly me. You're right.