List for cgit developers and users
 help / color / mirror / Atom feed
From: "nick" <nick@nicholasjohnson.ch>
To: <cgit@lists.zx2c4.com>
Subject: Add SHA256 Support
Date: Tue, 17 Oct 2023 01:33:22 +0000	[thread overview]
Message-ID: <CWABSRJPW86V.1589ELRDTB7KP@nicholasjohnson.ch> (raw)

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."

             reply	other threads:[~2023-10-17  1:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17  1:33 nick [this message]
2023-10-17  7:32 ` Christian Hesse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CWABSRJPW86V.1589ELRDTB7KP@nicholasjohnson.ch \
    --to=nick@nicholasjohnson.ch \
    --cc=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).