Subject: Re: bug#65763: Error opening a file from a Git working directory if Git is not installed

From: Eli Zaretskii <[email-masked]>
Date: Wed, 06 Sep 2023 15:13:48 +0300

> From: Paul Pogonyshev <[email-masked]>
> Date: Wed, 6 Sep 2023 09:29:59 +0200
> Cc: [email-masked]
> 
> The problem appears to be only with `debug-on-error'. However, there are cases where you cannot
> control it at all, e.g. with ERT (probably also Buttercup or any other testing framework). In effect, an
> ERT test fails for a "random" reason, depending on which machine it is executed, i.e. it fails inside
> that Docker container.

I see.

Well, we could then protect the execution of the problematic form "by
hand" by using condition-case-unless-debug.  Dmitry, WDYT?