From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: vc-git bug with top-level repositories Date: Mon, 18 Aug 2008 09:39:01 -0700 Message-ID: <200808181639.m7IGd1kb005968@sallyv1.ics.uci.edu> References: <200808181433.m7IEX8U3028640@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219077762 27656 80.91.229.12 (18 Aug 2008 16:42:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2008 16:42:42 +0000 (UTC) Cc: Emacs Devel To: Claus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 18 18:43:35 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KV7pK-0005Ab-1x for ged-emacs-devel@m.gmane.org; Mon, 18 Aug 2008 18:43:30 +0200 Original-Received: from localhost ([127.0.0.1]:45764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KV7oN-0004Pp-23 for ged-emacs-devel@m.gmane.org; Mon, 18 Aug 2008 12:42:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KV7mM-0003WF-IG for emacs-devel@gnu.org; Mon, 18 Aug 2008 12:40:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KV7mL-0003Vu-51 for emacs-devel@gnu.org; Mon, 18 Aug 2008 12:40:25 -0400 Original-Received: from [199.232.76.173] (port=40540 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KV7mL-0003Vr-1J for emacs-devel@gnu.org; Mon, 18 Aug 2008 12:40:25 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:36765) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KV7mK-0003FW-LQ for emacs-devel@gnu.org; Mon, 18 Aug 2008 12:40:24 -0400 X-ICS-MailScanner-Watermark: 1219682345.20465@YOWvprxoZsMGmiqD4Qk7nA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m7IGd1kb005968; Mon, 18 Aug 2008 09:39:01 -0700 (PDT) In-Reply-To: (Claus's message of "Mon, 18 Aug 2008 18:24:14 +0200") Original-Lines: 38 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102600 Archived-At: Claus 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 wrote: > > "Alfred M. Szmidt" 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?