From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: "ignored" in *vc-dir* buffers
Date: Sun, 19 Jul 2020 05:10:35 +0200 [thread overview]
Message-ID: <87ft9otd1w.fsf@gnus.org> (raw)
In-Reply-To: <3860d342-6957-4c45-9d7e-56228494abc4@yandex.ru> (Dmitry Gutov's message of "Fri, 17 Jul 2020 18:24:43 +0300")
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.el
!! 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
next prev parent reply other threads:[~2020-07-19 3:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 13:48 "ignored" in *vc-dir* buffers Lars Ingebrigtsen
2020-07-17 14:12 ` Dmitry Gutov
2020-07-17 14:25 ` Lars Ingebrigtsen
2020-07-17 15:17 ` Dmitry Gutov
2020-07-17 15:18 ` Lars Ingebrigtsen
2020-07-17 15:24 ` Dmitry Gutov
2020-07-19 3:10 ` Lars Ingebrigtsen [this message]
2020-07-19 3:46 ` Stefan Monnier
2020-07-19 3:59 ` Lars Ingebrigtsen
2020-07-19 6:43 ` Andreas Schwab
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ft9otd1w.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).