From: Dan Nicolaescu <dann@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Eric James Michael Ritz <Eric@cybersprocket.com>,
emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: [vc-git] Showing ‘.git/*’ files in vc-dir
Date: Sun, 04 Jul 2010 15:26:21 -0400 [thread overview]
Message-ID: <yxq630vm4ki.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwv8w5ryxd6.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun\, 04 Jul 2010 19\:27\:30 +0200")
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>> (vc-git-state "SOME_FILE_THAT_DOES_NOT_EXIST") says 'unregistered
>> (vc-git-state ".git/HEAD") says 'unregistered
>
> I'd expect most backends to suffer from this.
AFAIK only bzr and git do.
Git is too bad, it's commands can distinguish files in .git.
> The problem here is that Git seems to actively make the user access
> a file under the .git directory.
>
> Although, there might be more to it, since opening .bzr/branch/location
> didn't add it to the *vc-dir* buffer when I tried it.
It's not opening, it's saving a file that adds it to *vc-dir*.
bzr is slightly broken about this:
$ bzr status .bzr/branch/last-revision
unknown:
.bzr/branch/last-revision
whereas:
$ hg status .hg/dirstate
abort: path contains illegal component: .hg/dirstate
next prev parent reply other threads:[~2010-07-04 19:26 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 18:29 [vc-git] Showing ‘.git/*’ files in vc-dir Eric James Michael Ritz
2010-06-29 19:54 ` Dan Nicolaescu
2010-06-29 20:07 ` Eric James Michael Ritz
2010-06-29 20:54 ` Dan Nicolaescu
2010-06-29 21:16 ` Eric James Michael Ritz
2010-07-01 1:27 ` Stefan Monnier
2010-07-01 3:06 ` Dan Nicolaescu
2010-07-01 5:47 ` Miles Bader
2010-07-01 6:44 ` Dan Nicolaescu
2010-07-01 13:40 ` Eric James Michael Ritz
2010-07-04 17:26 ` Eric James Michael Ritz
2010-07-04 19:30 ` Dan Nicolaescu
2010-07-04 19:45 ` Eric James Michael Ritz
2010-07-04 17:27 ` Stefan Monnier
2010-07-04 19:26 ` Dan Nicolaescu [this message]
2010-07-01 7:36 ` Jan Djärv
2010-07-01 8:32 ` Dan Nicolaescu
2010-07-01 8:39 ` Glenn Morris
2010-07-01 9:29 ` Jan Djärv
2010-07-01 15:34 ` Dan Nicolaescu
2010-07-01 9:23 ` Jan Djärv
2010-07-01 15:26 ` Dan Nicolaescu
2010-07-01 16:25 ` Jan Djärv
2010-07-23 15:30 ` Stefan Monnier
2010-07-01 8:35 ` Glenn Morris
2010-07-01 9:16 ` Miles Bader
2010-07-01 9:22 ` Deniz Dogan
2010-07-01 15:23 ` Dan Nicolaescu
2010-07-01 21:14 ` Glenn Morris
2010-07-01 22:24 ` René Kyllingstad
2010-07-02 3:14 ` Miles Bader
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yxq630vm4ki.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=Eric@cybersprocket.com \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.