all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Andrew Whatson <whatson@gmail.com>
Cc: 48698-done@debbugs.gnu.org
Subject: bug#48698: [PATCH] git-download: Fix 'git-predicate' handling of deleted files.
Date: Fri, 28 May 2021 12:10:09 +0200	[thread overview]
Message-ID: <87v973i2ym.fsf@gnu.org> (raw)
In-Reply-To: <20210527141759.2868127-1-whatson@gmail.com> (Andrew Whatson's message of "Fri, 28 May 2021 00:17:59 +1000")

Hi Andrew,

Andrew Whatson <whatson@gmail.com> 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’.




      reply	other threads:[~2021-05-28 10:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-27 14:17 [bug#48698] [PATCH] git-download: Fix 'git-predicate' handling of deleted files Andrew Whatson
2021-05-28 10:10 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v973i2ym.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=48698-done@debbugs.gnu.org \
    --cc=whatson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.