[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#77875: [PATCH v2 1/2] git: Use ‘graph-descendant?’ from Guile-Git >=
From: |
Ludovic Courtès |
Subject: |
bug#77875: [PATCH v2 1/2] git: Use ‘graph-descendant?’ from Guile-Git >= 0.10.0 when available. |
Date: |
Wed, 23 Apr 2025 12:30:56 +0200 |
User-agent: |
mu4e 1.12.9; emacs 29.4 |
Tomas Volf <~@wolfsden.cz> writes:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> 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 (guix graph) is available,
>
> You forgot to switch to (git graph) here.
Oops. Fixed and pushed as ee6d2a77a3f07c4b81fd31bc7aa5d07accc317bd.
Thanks,
Ludo’.