From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Qp2/CGNAA2qhqjMAWB0awg (envelope-from ) for ; Tue, 12 May 2026 10:59:47 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=usX3E06b; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 081EF1E067; Tue, 12 May 2026 10:59:47 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EDD721E067 for ; Tue, 12 May 2026 10:59:44 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5358E4BB1C0E for ; Tue, 12 May 2026 14:59:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5358E4BB1C0E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1778597984; bh=lbKtCAP6L+NZfoM0IvaYQHBHrTp4DQosNd8hZEjwJ3Q=; h=To:Cc:Subject:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=usX3E06bxT5ZDCnlbwiKgr3QUxAKWJeCD+3A2CcD9Lo3aA6vgpLLHIjcek0HgwEQ5 4B8q4405aI/25/F21vMAwteA19jJPXsPxDOwMuzB9KPmWqvI5ZxIdXAqapK70zthbY dAiC7ga2QCxo0T8+4i+QN5CB087nUfp9h7wzGItU= Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161]) by sourceware.org (Postfix) with ESMTPS id 5C7F04BB24CD for ; Tue, 12 May 2026 14:58:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C7F04BB24CD ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5C7F04BB24CD ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778597908; cv=none; b=KwWorsbz5HdbrArRiLCEkHalft6xMSFHpCyn7EzDnjIvFkFTwB0Ud4KsjrXriPADwtiUZ2Sl8kCR2Exqgx/DPxhKuxWgU9DaaScrxTtOTenQdX6esBe/szfnxKMlJc/L5NniyPd0E26ONKIDsEoQFDS3OV/TcXBkGGp5CzYkF8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1778597908; c=relaxed/simple; bh=jCwPiQFxkldGDJRlqzRitGmFmNy8R3vaY87u7X/aWck=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=MbAdeRIHsz/6RgY7qDje2LylA8TODN+4ZPZ425l8kPIjV4TEgujy64DXJT+1VDIUDLkFsHPG/IHG7PUO70dwpcGlnVl09QSXijPgIUUjGW0i+WGXqZEwCHw5k9tu3HdL9iPdEsg+nCTeO+MDbTZHbOLhTh/Y+K6iAQopQHwTRNI= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=aarsen.me header.i=@aarsen.me header.a=rsa-sha256 header.s=MBO0001 header.b=ivihgC3M DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C7F04BB24CD Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4gFKTs6L7nz9thx; Tue, 12 May 2026 16:58:25 +0200 (CEST) To: Eli Zaretskii Cc: Tom de Vries , gdb@sourceware.org Subject: Re: Fixing commit dates before pushing In-Reply-To: <86v7cszvpa.fsf@gnu.org> References: <6789f4cc-cc39-4061-8079-195d5ef5a362@suse.de> <86v7cszvpa.fsf@gnu.org> Date: Tue, 12 May 2026 16:58:22 +0200 Message-ID: <864ikcd69d.fsf@aarsen.me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4gFKTs6L7nz9thx X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Gdb?= Reply-To: =?utf-8?Q?Arsen_Arsenovi=C4=87?= Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > My vote is to drop the requirement. With all the possible cases which > Git supports of getting a commit into the upstream repository, I don't > think we can guarantee monotonous dates anyway. On top of that, Git already provides monotonous dates (assuming no deliberate effort to make them non-monotonous) on commits in the 'CommitDate' field. (Parts of) Git already assume(s) such a monotonous timestamps: --committer-date-is-author-date Instead of using the current time as the committer date, use the author date of the commit being rebased as the committer date. This option implies --force-rebase. Warning The history walking machinery assumes that commits have non-decreasing commit timestamps. You should consider if you really need to use this option. Then you should only use this option to override the committer date when rebasing commits on top of a base which commit is older (in terms of the commit date) than the oldest commit you are applying (in terms of the author date). -- git-rebase(1) See also 'git log --format=3Dfuller'. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQECBAEWCgCqFiEE/uKz0RP8AKMWLWBhUsKUMB6ixJMFAmoDQA4bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGRUUyQjNEMTEzRkMwMEEzMTYyRDYw NjE1MkMyOTQzMDFFQTJDNDkzEBxhcnNlbkBhYXJzZW4ubWUACgkQUsKUMB6ixJMz AgD9EwPsBgU6pz1H+u2kXtGW2BPMur75+C+nxjr1nU1+e30BANZCYC4kWvnRovde jXmLVR1xHKTUrGYDy3Rz/NDPx6sP =dgfe -----END PGP SIGNATURE----- --=-=-=--