guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [outreachy] Walk through the Git history (guix git {authenticate,log


From: Magali
Subject: Re: [outreachy] Walk through the Git history (guix git {authenticate,log})
Date: Fri, 11 Dec 2020 16:01:56 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi,

On 11/12/2020 14:41, zimoun wrote:
> Hi,
>
> Discussing how to walk through the Git history
> ~/.cache/guix/checkouts/<hash>, there is 2 ways to do:
>
>  1. Loop with commit-parents as it is done for ’commit-closure’ in
>     guix/git.scm.
>
>  2. Bind git_revwalk_* and use it instead.
>
> WDYT?
>
> Well, #1 is more straightforward but less efficient, IIUC.
>
>
> All the best,
> simon

I think #2 is the way to go. It may be more difficult to implement right
now, but in the future it'll make things easier if we think about adding
an option that allows us to choose the order the commits will be shown,
for instance.


Magali





reply via email to

[Prev in Thread] Current Thread [Next in Thread]