From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Brubeck Unhammer Newsgroups: gmane.emacs.bugs Subject: bug#18788: 24.4; vc-git-working-revision vs mode-line gives error Date: Mon, 02 Feb 2015 14:53:53 +0100 Message-ID: <87iofka07i.fsf@mm.st> References: <87wq7sfqtt.fsf@fsfe.org> <86zjaqo52x.fsf@yandex.ru> <87twz7hzae.fsf@mm.st> <54CF775E.2090408@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1422885323 26206 80.91.229.3 (2 Feb 2015 13:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2015 13:55:23 +0000 (UTC) Cc: 18788@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 14:55:22 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YIHTF-0005vm-Uv for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 14:55:22 +0100 Original-Received: from localhost ([::1]:54699 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHTF-0000jO-Df for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2015 08:55:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHT5-0000f2-Na for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 08:55:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIHSw-0005nS-Sr for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 08:55:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHSw-0005ms-Pv for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 08:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YIHSw-0006mH-7e for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2015 08:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Brubeck Unhammer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Feb 2015 13:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 18788-submit@debbugs.gnu.org id=B18788.142288524225962 (code B ref 18788); Mon, 02 Feb 2015 13:55:02 +0000 Original-Received: (at 18788) by debbugs.gnu.org; 2 Feb 2015 13:54:02 +0000 Original-Received: from localhost ([127.0.0.1]:60109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIHRx-0006kZ-Js for submit@debbugs.gnu.org; Mon, 02 Feb 2015 08:54:01 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:53427) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YIHRu-0006kP-Tx for 18788@debbugs.gnu.org; Mon, 02 Feb 2015 08:54:00 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 126D420CA3; Mon, 2 Feb 2015 08:53:58 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Mon, 02 Feb 2015 08:53:58 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:from:to:cc:subject:in-reply-to :references:date:message-id:mime-version:content-type; s= smtpout; bh=AvUHnnFW9UjHiVYov/ekgtWuVdQ=; b=n3ukqG51yCH16obKe5At 5qwYHSUQjgpiS1wFU+CsyLJJlYThTvUw29rztkiIDGKuZgvifr5JtTQHqWzh1JZe VIhazOCVB6aShKNtKhuV5MFDIaKtadojUcTarwjDzYBNFjtnsRoFI8pfwgeOJpiC M4KR6T3nmY/iaeadJxYuP4Y= X-Sasl-enc: zIT4uBMXYAS0sG5prosbal9hZW4d0BQ5iSl7mEo3uUAv 1422885237 Original-Received: from kiwiarch (unknown [84.210.14.246]) by mail.messagingengine.com (Postfix) with ESMTPA id 52A886800FD; Mon, 2 Feb 2015 08:53:57 -0500 (EST) In-Reply-To: <54CF775E.2090408@yandex.ru> (Dmitry Gutov's message of "Mon, 02 Feb 2015 15:10:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98977 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dmitry Gutov writes: > On 01/31/2015 03:09 PM, Kevin Brubeck Unhammer wrote: > >> The repo I've seen it with under ~ if that makes any difference (ie. >> ~/.git) =E2=80=93 I can't remember if I've seen it other places. > > Is '~/.git' the name of the directory under version control? That > could be the cause of your problem: there is a directory with this > name in (almost) every Git repository, and it's used to store all > version control information. Git could be getting confused by this > name. No, sorry for the confusion; ~ is the directory under version control, I just mentioned that to indicate where the root of the version-controlled repo was :-) >> I get >> >> fatal: Not a git repository: .git > > This points to the above explanation. However, it's odd that you can't > reproduce the problem reliably. > >> Notably, this only happens with files that are in subdirectories of ~ >> (but still tracked by the ~ repo), not with files that are directly >> inside ~. E.g. it happens with ~/org/gtd.org, but not with ~/.gitignore. > > Did that happen with files inside ~/org/gtd.org? Was the error message > the same? It happened with any file in a subdirectory of ~, but not with files directly in ~ >> When I restarted emacs to see if it had anything to do with my init.el, >> the bug was gone again. > > Yeah, I think we'll need a solid reproduction to fix it. Yes :-/ =2D-=20 Kevin Brubeck Unhammer GPG: 0x766AC60C --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUz4FxAAoJEHQmBt52asYM2qEIANPQmvGX4Ly5e4SZrSBG0Wid +f112qrit0IxsdswQjQsckqB6aAb5TKv1gaqpsx0B6IZbp3HAxDstXEXmrAUdHHI MZx5TetIC+fbK5oMx/7ltzymgne53EjIZp+wmJjsL8FqQD8L7+N++jkvw+8dKpOC TvCOWEgxrXWbxo5+sUG5/XOJkLOrshEtrjm9Q2TyA5+smDvvdL2VYFV+Rokby28t GKQHrHwEmZ4KzR1f/Eopd2iZjwfrRGr5DnZZhEZQJfHqMzDYrA9nJ496DYJJLo4D AFScZDF4bYGF5OKaeU7+5+LzAahai5JsKF32JkjgGuS07Up6fg50vgxnPEx3hdA= =pteM -----END PGP SIGNATURE----- --=-=-=--