GNU bug report logs - #68183
28.3; vc-dir fails when I have a certain branch checked out

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Sun, 31 Dec 2023 19:00:02 UTC

Severity: normal

Found in version 28.3

Done: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 68183 <at> debbugs.gnu.org (full text, mbox):

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, Eli Zaretskii <eliz <at> gnu.org>,
 68183 <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>,
 Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#68183: 28.3; vc-dir fails when I have a certain branch
 checked out
Date: Thu, 08 Aug 2024 20:02:00 +0800
Hello,

On Thu 08 Aug 2024 at 09:07am +02, Kévin Le Gouguec wrote:

> Do you mean that the detection methods for 'am and 'merge currently in
> place…
>
>     (when (file-exists-p
> 	   (expand-file-name "rebase-apply/applying" gitdir))
>       (push 'am cmds))
>     (when (file-exists-p (expand-file-name "MERGE_HEAD" gitdir))
>       (push 'merge cmds))
>
> … are unreliable somehow?  I wasn't planning on detecting more
> operations, merely adding vc-dir headers for these two, since despite
> vc-git--cmds-in-progress picking these operations up,
> vc-git-dir-extra-headers ignores them 😶

Oh sorry, I misread.  Those tests are reliable.  Yes -- if you think it
would be helpful to have them displayed in vc-dir, it makes sense to me
to add them.

-- 
Sean Whitton




This bug report was last modified 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.