[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-git bug with top-level repositories
From: |
Claus |
Subject: |
Re: vc-git bug with top-level repositories |
Date: |
Mon, 18 Aug 2008 22:10:14 +0200 |
> Try to figure out why (vc-git-registered "c:/work/foo/bar/somefile.xml")
> does not return t.
Fair enough :)
Well, it seems like vc-git-registered returns t for files in the
top-level git-directory (the directory, where .git resides). It does
however NOT return t for files in subdirectories of where the .git dir
resides.
E.g. in a git-repository in c:/work/foo/ a file c:/work/foo/myfile.txt
is recognized, but c:/work/foo/bar/myotherfile.txt is not.
".git" resides in c:/work/foo ony, naturally.
Any recent changes to vc-git-registered that might have caused this?
HTH,
Claus
On Mon, Aug 18, 2008 at 6:39 PM, Dan Nicolaescu <address@hidden> wrote:
> Claus <address@hidden> writes:
>
> > I see this behaviour as well (under Windows):
> >
> > c:/work/foo/bar/somefile.xml is not recognized to be under GIT vc (but it
> is).
> >
> > Whereas $HOME/.emacs is correctly recognized as being under GIT vc.
> >
> > This used to work in my last build ~ the end of July, but doesn't work
> > now using:
> >
> > GNU Emacs 23.0.60.1 (i386-mingw-nt6.0.6001) of 2008-08-17
> >
> >
> > If I can be of any more help in debugging this, let me know.
>
> Try to figure out why (vc-git-registered "c:/work/foo/bar/somefile.xml")
> does not return t.
>
>
> > Claus
> >
> >
> > On Mon, Aug 18, 2008 at 4:33 PM, Dan Nicolaescu <address@hidden> wrote:
> > > "Alfred M. Szmidt" <address@hidden> writes:
> > >
> > > > Hi,
> > > >
> > > > if you have git repository in e.g. /foo/.git then vc-mode stops
> > > > working. vc-mode also stops working if you have /.git.
> > > >
> > > > By stops working I mean that vc-mode does not detect that a file is
> > > > under VC, so you cannot do vc-print-log, vc-next-action, etc.
> > >
> > > A git repository in /foo/.git works fine for me with emacs from CVS head
> > > and EMACS_22_BRANCH.
> > >
> > > What version are you using? Can you try with emacs -Q?
>
- vc-git bug with top-level repositories, Alfred M. Szmidt, 2008/08/16
- Re: vc-git bug with top-level repositories, Dan Nicolaescu, 2008/08/18
- Re: vc-git bug with top-level repositories, Claus, 2008/08/18
- Re: vc-git bug with top-level repositories, Dan Nicolaescu, 2008/08/18
- Re: vc-git bug with top-level repositories,
Claus <=
- Re: vc-git bug with top-level repositories, Dan Nicolaescu, 2008/08/18
- Re: vc-git bug with top-level repositories, Claus, 2008/08/19
- Re: vc-git bug with top-level repositories, Paul R, 2008/08/19
- Re: vc-git bug with top-level repositories, Dan Nicolaescu, 2008/08/19
- Re: vc-git bug with top-level repositories, Alfred M. Szmidt, 2008/08/19
- Re: vc-git bug with top-level repositories, Andreas Schwab, 2008/08/19
- Re: vc-git bug with top-level repositories, Miles Bader, 2008/08/19
- Re: vc-git bug with top-level repositories, Paul R, 2008/08/20
- Re: vc-git bug with top-level repositories, Eli Zaretskii, 2008/08/19
- Re: vc-git bug with top-level repositories, Stefan Monnier, 2008/08/20