[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "ignored" in *vc-dir* buffers

From: Lars Ingebrigtsen
Subject: Re: "ignored" in *vc-dir* buffers
Date: Sun, 19 Jul 2020 05:10:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

OK, I've now debugged a bit.

If I edit a file under the lisp directory (but only there), I get these
weird results.

First, if I edit a file, I get the expected:

(vc-git-state "/home/larsi/src/emacs/trunk/lisp/vc/vc-git.el")
=> edited

But then if I remove the edit, then:

(vc-git-state "/home/larsi/src/emacs/trunk/lisp/vc/vc-git.el")
=> ignored

Outside the lisp directory, I get the expected:

(vc-git-state "/home/larsi/src/emacs/trunk/src/gnutls.c")
=> up-to-date

This is with "git version 2.27.0" in Debian sid.

And, indeed:

larsi@xo:~/src/emacs/trunk$ git status --porcelain --ignored -- 
!! lisp/vc/vc-git.elc

So...  er...  it's not an Emacs issue at all, but my git is broken?
Because "!!" means ignored.  Or is my Emacs tree broken?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]