Hi,

* Emilio Pozuelo Monfort <po...@debian.org> [2025-03-13 16:18]:
How are the API breaks in this release? Did you rebuild the rdeps against the new version? I'm all for updating libgit2, but only if it doesn't break half the rdeps.
There are three API breaks:

1. the git_email_create_from_diff() function has been deprecated and moved to the git2/deprecated.h header.
2. the git_indexer_new() function has lost one argument.
3. the git2/sys/reflog.h header (which is not part of the public API, but included by the public headers and therefore publicly accessible) has been removed

According to sources.d.o, the functions are only used in rust/cargo and libgit2 itself. There have been a number of additions and a few constants have changed values (notably GIT_CHECKOUT_SAFE and GIT_CHECKOUT_NONE), but all this affects the ABI only.

I did a couple random test rebuilds for non-rust packages and encountered no issues.


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to