emacs-devel
[Top][All Lists]
Advanced

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

Re: [vc-git] Showing ‘.git/*’ files in vc-dir


From: Dan Nicolaescu
Subject: Re: [vc-git] Showing ‘.git/*’ files in vc-dir
Date: Sun, 04 Jul 2010 15:26:21 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> 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




reply via email to

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