From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#21559: additional patch needed to set GIT_OPTIONAL_LOCKS=0 in all cases Date: Wed, 26 Sep 2018 15:16:50 +1200 Message-ID: <6897dc085833cb91cc3408e1d7154b38@webmail.orcon.net.nz> References: <87wpvebraz.fsf@smart-cactus.org> <20180925122309.GB68323@aeruder.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1537933303 21345 195.159.176.226 (26 Sep 2018 03:41:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Sep 2018 03:41:43 +0000 (UTC) User-Agent: Orcon Webmail Cc: 21559@debbugs.gnu.org, alexei.khlebnikov@gmail.com, michael.albinus@gmx.de, dgutov@yandex.ru To: Andrew Ruder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 26 05:41:38 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g50hl-0005R8-Se for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Sep 2018 05:41:37 +0200 Original-Received: from localhost ([::1]:56303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g50js-0002fm-DA for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 23:43:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g50Sx-0004rH-GD for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 23:26:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g50Jy-0001aC-Hq for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 23:17:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g50Jy-0001Zx-E3 for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 23:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g50Jy-0006F4-0M for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 23:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Sep 2018 03:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21559-submit@debbugs.gnu.org id=B21559.153793181723981 (code B ref 21559); Wed, 26 Sep 2018 03:17:01 +0000 Original-Received: (at 21559) by debbugs.gnu.org; 26 Sep 2018 03:16:57 +0000 Original-Received: from localhost ([127.0.0.1]:54259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g50Js-0006Ei-KG for submit@debbugs.gnu.org; Tue, 25 Sep 2018 23:16:56 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:38545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g50Jq-0006EY-2p for 21559@debbugs.gnu.org; Tue, 25 Sep 2018 23:16:55 -0400 Original-Received: from [10.253.37.70] (port=52602 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1g50Jm-00034f-3n; Wed, 26 Sep 2018 15:16:50 +1200 Original-Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 26 Sep 2018 15:16:50 +1200 In-Reply-To: <20180925122309.GB68323@aeruder.net> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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:150672 Archived-At: On 2018-09-26 00:23, Andrew Ruder wrote: > Please see attached patch. There is also some early reports of > success at https://github.com/magit/magit/issues/2708 Just to reiterate my comments from there, I believe this new patch does indeed resolve this bug. I've been using Emacs 26.1 with the earlier patch applied: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21559#131 And git version 2.16.3 With that, I was very regularly encountering the error "Unable to create '.git/index.lock': File exists." when rebasing in Magit with global-auto-revert-mode enabled. With this new patch applied too, I am not seeing the error at all. For testing I repeatedly rebased a moderately large branch, with and without the new patch (3 times each). Without the new patch I was encountering "Unable to create '.git/index.lock': File exists." between 3 and 5 times during each rebase. With the new patch I didn't encounter the problem at all in any of the rebases. -Phil