Git repositories with sha256
Author: koalalorenzoCreated Jan 25, 2025Updated Jul 7, 2026
Labelsfeature/request
Is there an existing issue for this?
- I have searched the existing issues
Description of the bug
When I have a repository that uses sha256 git cliff just stops working
Steps To Reproduce
- Create a repository that uses
sha256as hash for the commits. - Create any commit that can be used to generate a changelog
- try to generate the changelog
Expected behavior
It should process the changelog properly
Screenshots / Logs
ERROR git_cliff > Git error: `unknown object format 'sha256'; class=Repository (6); code=Invalid (-21)`Software information
- Operating system: macOS (15.2 24C101) with nix (24.11)
- Rust version: not installed
- Project version: 2.6.1
Additional context
I noticed that the nix package in unstable has often an outdated version (link). Currently the latest avaiable is 2.8.0 while on nix-unstalbe it is 2.7.0
Source: orhun/git-cliff