From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#21559: 25.0.50; auto-revert-mode breaks git rebase Date: Mon, 8 Feb 2016 13:19:52 -0800 Message-ID: <56B90678.9040103@dancol.org> References: <87wpvebraz.fsf@smart-cactus.org> <87oabu9fwh.fsf@smart-cactus.org> <87zivd8fra.fsf@gmail.com> <87vb613ye0.fsf@gmail.com> <877fih3xk1.fsf@gmail.com> <87d1s8akhb.fsf@smart-cactus.org> <878u2waiyc.fsf@smart-cactus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ApWt17Jfk2oXBx8JBcSdglAEMrU7GrpH4" X-Trace: ger.gmane.org 1454966489 2906 80.91.229.3 (8 Feb 2016 21:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 21:21:29 +0000 (UTC) Cc: 21559@debbugs.gnu.org To: Ben Gamari , Mitchel Humpherys Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 22:21:18 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 1aStFD-0001IK-FF for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 22:21:15 +0100 Original-Received: from localhost ([::1]:48954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStF9-00078v-Jy for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 16:21:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStF4-00078L-TS for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 16:21:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aStF0-0001YE-SF for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 16:21:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aStF0-0001Y7-Ip for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 16:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aStF0-0006uv-Et for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 16:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 21:21:02 +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.145496640226485 (code B ref 21559); Mon, 08 Feb 2016 21:21:02 +0000 Original-Received: (at 21559) by debbugs.gnu.org; 8 Feb 2016 21:20:02 +0000 Original-Received: from localhost ([127.0.0.1]:60570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aStE1-0006t3-EB for submit@debbugs.gnu.org; Mon, 08 Feb 2016 16:20:01 -0500 Original-Received: from dancol.org ([96.126.100.184]:44440) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aStDz-0006so-71 for 21559@debbugs.gnu.org; Mon, 08 Feb 2016 16:19:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=FZ0FY9WrTFKJY6ANeqVl12hxdGivKDTHM7gNxntAiuU=; b=nkUrKduWmOjEK0GCDEKIzqL0w623N+nfrDsdcOErc8txm26ZCVjzDew+7su09WHMpnrMBdQTRjViSPuPZRsT1HbvvuL1XJXCnDLtNFe3HjlVrxJMiOrrosf1YNFo5wqKdgYUpzwqY454TYVlGUBGaSTvt4i/m8dB1gDt89zhDakQMxt0gkVWtdZE5mfNkfE+Wq4EVd45zLxxGUN6Ok3OKymXVVaZ6orpy9of+Hg+iMzApwTGaunvCKoq66cT98v30MvD1THytTGniYQPKcc0ss3fy9nrkY9T8ryNmDGZ9/Q/05QmwhiW2YGPmmUyktl1MCeYupeR+YE+AkMpQydlSg==; Original-Received: from [2620:10d:c090:200::9:5509] (helo=[IPv6:2620:10d:c083:10fb:2ab2:bdff:fe1c:db58]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aStDy-0006Ud-61; Mon, 08 Feb 2016 13:19:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <878u2waiyc.fsf@smart-cactus.org> 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112751 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ApWt17Jfk2oXBx8JBcSdglAEMrU7GrpH4 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/07/2016 02:55 AM, Ben Gamari wrote: > I've spoken with some folks in #git about this issue. >=20 > * the index lock is held "because it needs to read the index and > compare it to the worktree. If it doesn't take the index lock, other= > things could change either the index or the worktree underneath it, > making git status lie (or even crash)" > =20 > * It sounds as though a patch refactoring `git rebase` such that it > holds the index lock may be considered, although this is a > non-trivial refactoring as `rebase` is currently a shell script This problem is really a git bug. For any VCS, I should be able to, in one terminal, run while true; do $VCS status; done and in another terminal, run $VCS any-damn-operation and not cause repository corruption or mysterious operation failures. Maybe it's a good idea for Emacs to work around this particular bug in git, but there is nothing semantically wrong with what vc-git is doing he= re. FWIW, whatever its other faults, hg at least operates correctly here. --ApWt17Jfk2oXBx8JBcSdglAEMrU7GrpH4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWuQZ4AAoJEN4WImmbpWBl3XoQAIWxaTrV2gdV/rqM0KAYVjEd 0eNMlXCpe3DM8tP3rRX9Wp+b6dXwyqAEpi4bZjEVEriFydDuFkVmUwPAxRsz7y4c wzcnxoMT+QPjRD8mMmZ1NLfPdd8fQssNBZMyZv1jUS7A8YHmICy2j4GD9tRYpwZS B/KUHQdovTPpO4cNcoTeMNPRHPyoHx/ppBICD7TSkZEI9QoK72OptT6INnhuFNP1 MNr+Rua/w1F27IopcC5D4b72sSJ0EKHdcBs36Em3V3Phkfvlm50S1iCPgNG/5V0i uYaIUuoqEPikq5N5V9/okmxDwliEQk24eWs21VK2dslgO8z7zTJTmocTmOqKrKum cDAF9tHuTBrPRgFPeIdqlFKg+iKWk4k1z6d9MrEBgPrS1Hck5U3ElkqLFtLmjOD2 iHAgoVAmkmNIDKI6VRIIUX8+2kAgwa/U+NTZyK6Fnp9UZFsKXyNRNpUUl+5Erizh H720PTdxStO7VUgLvH6VI7lX4xznpE3jTe6gaSWBFOxunfZJWwwdtOndNUvOKM8F QC962RLm4c0pwnvFWyY+0NF4VeMrxLId13r0sW4M2MnnDV8KUs5g2ixYTWQOcDkP QbzuGu0J19oxbSJ5mfmA/+qlMt9lYjahN3cYheYiKn/LqvGLts8WK8oWK34nCBrf hj8Gn6vjxNNZOBmKQN7J =tJxG -----END PGP SIGNATURE----- --ApWt17Jfk2oXBx8JBcSdglAEMrU7GrpH4--