git-cliff icon indicating copy to clipboard operation
git-cliff copied to clipboard

Git repositories with sha256

Open koalalorenzo opened this issue 10 months ago • 2 comments

Is there an existing issue for this?

  • [x] 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

  1. Create a repository that uses sha256 as hash for the commits.
  2. Create any commit that can be used to generate a changelog
  3. 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

koalalorenzo avatar Jan 25 '25 12:01 koalalorenzo

Thanks for opening your first issue at git-cliff! Be sure to follow the issue template! ⛰️

welcome[bot] avatar Jan 25 '25 12:01 welcome[bot]

Blocked on https://github.com/rust-lang/git2-rs/issues/1090

orhun avatar Feb 22 '25 20:02 orhun