diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-04-17 18:44:49 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-04-23 12:25:45 +0200 |
| commit | ee6d2a77a3f07c4b81fd31bc7aa5d07accc317bd (patch) | |
| tree | b526904ae8a594a953f4f5298663713ead5248d5 /gnu/packages/patches/python-zeroc-ice-3.6.5-python-3.11-support.patch | |
| parent | 27e62d4481a02f1016c7a72bedb946d92ceecf49 (diff) | |
git: Use ‘graph-descendant?’ from Guile-Git >= 0.10.0 when available.
Fixes <https://issues.guix.gnu.org/66268>.
Fixes a bug whereby ‘commit-relation’ and ‘commit-descendant?’ would
provide an incorrect result when two distinct <commit> objects would
exist for the same commit, which happens when the commit’s metadata is
beyond 4 KiB at least as of libgit2 1.8/1.9.
This, in turn, would lead ‘guix pull’ & co. to wrongfully report an
attempt to downgrade and pull to an unrelated commit.
* guix/git.scm (commit-relation): When (git graph) is available,
rewrite in terms of ‘graph-descendant?’.
(commit-descendant?): Likewise.
Change-Id: Ie52b188a8dfa90c95a73387c3ab2fdd04d2bf3e9
Reported-by: Tomas Volf <~@wolfsden.cz>
Diffstat (limited to 'gnu/packages/patches/python-zeroc-ice-3.6.5-python-3.11-support.patch')
0 files changed, 0 insertions, 0 deletions
