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 14:18:36 -0700 Message-ID: <200808182118.m7ILIaJS027389@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 1219094492 22029 80.91.229.12 (18 Aug 2008 21:21:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2008 21:21:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: ams@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 18 23:22:24 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 1KVC9Q-0000pL-7S for ged-emacs-devel@m.gmane.org; Mon, 18 Aug 2008 23:20:32 +0200 Original-Received: from localhost ([127.0.0.1]:58840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVC8S-0001KK-V3 for ged-emacs-devel@m.gmane.org; Mon, 18 Aug 2008 17:19:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVC8P-0001KB-Al for emacs-devel@gnu.org; Mon, 18 Aug 2008 17:19:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVC8O-0001Jq-K7 for emacs-devel@gnu.org; Mon, 18 Aug 2008 17:19:28 -0400 Original-Received: from [199.232.76.173] (port=49804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVC8O-0001Jn-FL for emacs-devel@gnu.org; Mon, 18 Aug 2008 17:19:28 -0400 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]:41371) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KVC8F-0007Bx-NY; Mon, 18 Aug 2008 17:19:20 -0400 X-ICS-MailScanner-Watermark: 1219699118.75365@mJrnzLa+0gJOj9VIzyQnGA 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 m7ILIaJS027389; Mon, 18 Aug 2008 14:18:36 -0700 (PDT) In-Reply-To: (Alfred M. Szmidt's message of "Mon, 18 Aug 2008 17:05:29 -0400") Original-Lines: 23 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:102613 Archived-At: "Alfred M. Szmidt" writes: > > 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? > > # emacs --version > GNU Emacs 23.0.60.1 > [...] > > >From CVS head 2008-08-17. > > Same behaviour with -Q. Then please try to debug vc-git-registered and find out why it returns nil for files that are under git.