Subject: Re: bug#48698: [PATCH] git-download: Fix 'git-predicate' handling of deleted files.

From: Ludovic Courtès <[email-masked]>
Date: Fri, 28 May 2021 12:10:09 +0200

Hi Andrew,

Andrew Whatson <[email-masked]> skribis:

> When git-predicate is used on an active worktree, some files in the
> index might not exist on the filesystem.  Instead of failing with "No
> such file or directory", these should be ignored.
>
> * guix/git-download.scm (git-predicate): Skip missing files.

I pushed a slightly different version as
50d5bb1f3e3f080212436db1b8666d061a8ae1d2, mostly avoiding the extra
‘stat’ call induced by ‘file-exists?’.

Thanks,
Ludo’.