gogs / gogs/git-module

[feature request] Add sha256 object format support

Open
#138 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
184
Forks
132
PR merge metrics
No merged PRs in 30d

Description

According https://git-scm.com/docs/BreakingChanges.html , Git 3.0 will make sha256 default object format algorithm.
According https://www.phoronix.com/news/Git-3.0-Release-Talk-2026, Git 3.0 might be released by the end of 2026.

After a short look, I found we only have sha1 support. I think we should do some preparatory work first.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Go module's existing SHA-1 support and how it invokes Git through shell commands, then read the linked Git breaking-changes documentation. The issue does not name files, tests, an entry point, or acceptance criteria, so the preparatory scope and definition of done need to be established before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.