Re: emacs-31 a9fc13614ec: Export GIT_OPTIONAL_LOCKS=0 for "git status" invocations (bug#80903)

Sean Whitton <[email protected]> Wed, 05 Aug 2026 14:33:58 +0100
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Eli Zaretskii [01/Aug  5:53pm +03] wrote:
>> That would be a riskier change because setting an env var doesn't
>> disrupt the rest of argument parsing, as compared with passing a new
>> argument.
>
> Sorry, I don't understand the problem you are describing.  Can you
> elaborate about the "disruption"?

My thought is that setting an env var is wholly transparent to the rest
of the Lisp, but inserting additional arguments into the list is not.

>> Git 2.15 is almost nine years old.  Perhaps it's okay if asynchronous
>> check-ins (an optional feature) occasionally fail due to a race?
>
> It's okay to occasionally fail, but it's better not to, if we can do
> that.  Obviously.

Now implemented.

-- 
Sean Whitton