From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs Subject: bug#23769: 25.0.95; Mode Line breakage in vc-git Date: Thu, 16 Jun 2016 08:45:40 +0100 Message-ID: <87r3bxzie3.fsf@russet.org.uk> References: <87a8ioyq9o.fsf@russet.org.uk> <87wplr1z4z.fsf@russet.org.uk> <91e61a46-b3bb-c4d9-cb30-bbfa90135d69@yandex.ru> <877fdqkwki.fsf@russet.org.uk> <9856a1e4-be41-d781-bfbd-22bac360d18b@yandex.ru> <871t3y85oz.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466063187 23168 80.91.229.3 (16 Jun 2016 07:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2016 07:46:27 +0000 (UTC) Cc: 23769@debbugs.gnu.org, Dmitry Gutov To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 16 09:46:15 2016 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 1bDS0F-0008Qv-8X for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2016 09:46:15 +0200 Original-Received: from localhost ([::1]:47075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDS0E-0002R5-AT for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jun 2016 03:46:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDS08-0002Qy-HW for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 03:46:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDS02-0006SL-L0 for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 03:46:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDS02-0006SH-HD for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 03:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bDS02-0001jp-C7 for bug-gnu-emacs@gnu.org; Thu, 16 Jun 2016 03:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jun 2016 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23769 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23769-submit@debbugs.gnu.org id=B23769.14660631486656 (code B ref 23769); Thu, 16 Jun 2016 07:46:02 +0000 Original-Received: (at 23769) by debbugs.gnu.org; 16 Jun 2016 07:45:48 +0000 Original-Received: from localhost ([127.0.0.1]:42867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDRzo-0001jI-BO for submit@debbugs.gnu.org; Thu, 16 Jun 2016 03:45:48 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:37257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDRzm-0001j6-Nd for 23769@debbugs.gnu.org; Thu, 16 Jun 2016 03:45:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=5TRUGFH8qWbhvPvaWXOio5Nff7LICPfEz2NAi9jTCtw=; b=kCupBMzvbdJtJzjx3Tr5kdj6U+ +iZHGGORWdmjgarudmfazNsWZQpZJJTCLezGxsYvqL1bAhkPYrYt1JXq9L52SmBOgyEGGKiULI7RT uq8VlHOYwYIILwruzqetm6KEPtFzJ/7FkvwoRy/jebqSY9XRbwtutO9j6QzgwLmQ4lXbSWQ45Nhzj B6ZS8JWBLpH11CILA0tmVVZrS21+UWbkgiiAtNGC1/aZUilL48KKYGY41c6UgmgJ9GSDG7OY+bvWi jbGijwO99mqs+T/yA1yJfsQPvgUeQ0Qse1RgYUSK8qAdJcWFTO9sT91u12vCOztz3ibJsTz/4JY1s oy6/qTVQ==; Original-Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]:46772 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bDRzh-0007aG-04; Thu, 16 Jun 2016 08:45:41 +0100 In-Reply-To: (Noam Postavsky's message of "Wed, 15 Jun 2016 18:27:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:119620 Archived-At: Noam Postavsky writes: > On Wed, Jun 15, 2016 at 6:09 PM, Phillip Lord > wrote: >> >> Failing that, now I know what the problem is, at least I have a >> workaround (unset GIT_DIR in the pre-commit hook). > > Apparently this "_the_ right way to write hooks that touch the files > in the work tree." > > http://permalink.gmane.org/gmane.comp.version-control.git/136276 I agree that this will work. But it worth reading the justification -- "in earlier versions of git" -- so that will be git 1.6 latest, as the post was in 2010. So, I don't think that Emacs should *require* this to be the case. git doesn't appear to any more. Phil