From nick at nicholasjohnson.ch Tue Oct 17 01:33:22 2023 From: nick at nicholasjohnson.ch (nick) Date: Tue, 17 Oct 2023 01:33:22 +0000 Subject: Add SHA256 Support Message-ID: 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-formatltformatgt "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?s Git will be usable by future versions of Git without data loss." From list at eworm.de Tue Oct 17 07:32:24 2023 From: list at eworm.de (Christian Hesse) Date: Tue, 17 Oct 2023 09:32:24 +0200 Subject: Add SHA256 Support In-Reply-To: References: Message-ID: <20231017093224.4ce4163b@leda.eworm.net> "nick" on Tue, 2023/10/17 01:33: > 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-formatltformatgt > > "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?s Git will be usable by future > versions of Git without data loss." This is a sha256 repository hosted by cgit: https://git.zx2c4.com/sha256-oid-test/ Support was added around 2020/10/20. -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);} -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: