diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-05-28 11:02:07 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-05-28 11:36:02 +0200 |
commit | 50d5bb1f3e3f080212436db1b8666d061a8ae1d2 (patch) | |
tree | 56d9d8d41ebaffbecbe3a26b1a399b11a0eba159 /guix/status.scm | |
parent | 681af1fb78a735b51dc811aed770b2948212c3fc (diff) |
git-download: 'git-predicate' now ignores deleted files.
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): Wrap 'lstat' call in
'false-if-exception'. Return RESULT when STAT is #f.
Co-authored-by: Andrew Whatson <whatson@gmail.com>
Diffstat (limited to 'guix/status.scm')
0 files changed, 0 insertions, 0 deletions