From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19673 invoked from network); 17 Oct 2023 01:33:44 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 17 Oct 2023 01:33:44 -0000 Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id b8a12b90; Tue, 17 Oct 2023 01:33:27 +0000 (UTC) Return-Path: Received: from mail.nicholasjohnson.ch (mail.nicholasjohnson.ch [93.95.231.105]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id 1a2f2558 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 17 Oct 2023 01:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nicholasjohnson.ch; s=dkim2; t=1697506406; bh=3rykJpVyACyW3o8tpdpi8ysh/64BdaAJ1T+rrh19nws=; h=Date:From:To:Subject:From; b=Mfm+Rar3FYG9JMvsfYhBuBtgw9PFvxhbywzSqRsMJHqP6Duk9EIbNpGUZLM4/78/3 s6ZEbU9Qz2h/ZH4D65Z0ywTd89T44bwVzZ4HjanH/2klB7a66B2p/ptD3zPQ+t8ULJ TxtIOQb+MRX2PtJYx+DvYWFq7IBKZFRFv2qKFYoTQvMtT8BjKQFE9fO6/ES2SW+hrF WaIE+hdlsReGvxk5tmR7W/H3mDk53RJi5lf86X8rEBJex6RuJt6DbWHlpdH4K/Aio2 0N2VHqztWSv9dZzslUcr7rP35laEAZOXjn8gKD9PCoB/5xBYQvn9X+PN02Ik3fnfUc 18gneKAtvy9Hw== Content-Type: text/plain; charset=UTF-8 Date: Tue, 17 Oct 2023 01:33:22 +0000 Message-Id: From: "nick" To: Subject: Add SHA256 Support Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: aerc 0.15.2 X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" I am a satisfied user of Cgit, but I wish it supported SHA-256 repos. Gitea will soon support SHA-256: https://github.com/go-gitea/gitea/pull/23894 There is also at least one repository hosting platform which supports SHA-256: https://sha2git.com/ According to Git documentation, it should be safe to implement: https://git-scm.com/docs/git-init#Documentation/git-init.txt---object-forma= tltformatgt "Historically, we warned that SHA-256 repositories may later need backward incompatible changes when we introduce such interoperability features. Today, we only expect compatible changes. Furthermore, if such changes prove to be necessary, it can be expected that SHA-256 repositories created with today=E2=80=99s Git will be usable by future versions of Git without data loss."