* Add SHA256 Support
@ 2023-10-17 1:33 nick
2023-10-17 7:32 ` Christian Hesse
0 siblings, 1 reply; 2+ messages in thread
From: nick @ 2023-10-17 1:33 UTC (permalink / raw)
To: 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-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."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add SHA256 Support
2023-10-17 1:33 Add SHA256 Support nick
@ 2023-10-17 7:32 ` Christian Hesse
0 siblings, 0 replies; 2+ messages in thread
From: Christian Hesse @ 2023-10-17 7:32 UTC (permalink / raw)
To: nick; +Cc: cgit
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
"nick" <nick@nicholasjohnson.ch> 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);}
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-17 7:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-17 1:33 Add SHA256 Support nick
2023-10-17 7:32 ` Christian Hesse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).