From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Commit mistake? Date: Sun, 25 Nov 2018 18:09:07 +0100 Message-ID: <87d0qtqe30.fsf@gmx.net> References: <87pnutqol6.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543165642 17641 195.159.176.226 (25 Nov 2018 17:07:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2018 17:07:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 25 18:07:18 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gQxsL-0004Rx-F0 for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2018 18:07:17 +0100 Original-Received: from localhost ([::1]:60624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQxuR-0005zJ-Hd for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2018 12:09:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQxuL-0005x5-Kt for emacs-devel@gnu.org; Sun, 25 Nov 2018 12:09:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQxuG-0000pM-P8 for emacs-devel@gnu.org; Sun, 25 Nov 2018 12:09:21 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:37697) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQxuG-0000oO-Gj for emacs-devel@gnu.org; Sun, 25 Nov 2018 12:09:16 -0500 Original-Received: from rosalinde ([178.6.221.215]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LrJTs-1fQ6PJ2Kdw-0132yh; Sun, 25 Nov 2018 18:09:09 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 25 Nov 2018 11:49:22 -0500") X-Provags-ID: V03:K1:YT6fCNN6o9sCRz3RWcGKj8Ry6bsdU1nJP/fZ1AqtHZhlvTSWHXR wCbTe4EWRUlI1HKloBMa9nD45b72to3LZ14VrS7RPbMxQ5wMHI/7fkfSIzCfgDGI71EejyY 10x5KUdmyGUwIcAe4t1tMRLDVJdqtyBbzlnvMwLzgveuc3s080/3Zc+sozudGBELLnIYC8o Ak8uacaUQg6GUY25zeV2Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:dLudXKDr/+I=:Tt6pIo7rsHgBLavnn80L+2 q8nYP08rHfJNn9SdkWPHuwqGNxUSxCds2tBMOtpn/arPJdVf7T1++lIEVQ5pAJNqSVhTas64t CrVcLFG2zlnk1se/MxRjW26UwShndOcMHm0C4TSFpI9nP1NnixfNb8YRBUcuPU1NXtEWba+zq Zbp7b3HhIUg4JH4EC5nT9o5pMZSw4yTjOdUDZzLwLr/0Xm01NQxXSA2b8QJnDjZ+3KbKz5r1M 1xUC8QfFkUFyT6thhkF8/nC2BhNz0wl1rXEsr7iJVm12T1pmC5YiF3wbVlyO2maqirENUYO3N sGmZScDx6aunwgeBADEoASTdHVi9Hcq2/aExE0/n0LYpkVgpfvvuj6I9SoR+sO7XB+wlnmbjB 81tIjHb6Ns/FySPpj/kQ3CwQVkOKESX7vPKksa/VM9ivJK/HfWGddWIEwnQzcaXY8Sypp54qX CM2KNEeGM/sHGZivmDBiGgHgEwxjcEJTbqBLkq2tau4lQMoVlJo+pR3LlSQ7BBwNgBB5qHcMl CaVoPjwD1qnUO5RZLn4zdgBe+QTfGz/L/z9Zhozg+GncUUFqTkwFAjHjAOu+KdMJkgvqdJ64u cWI7n2THz2NiZb2kKt2jm1ZWtw33KoHs5fBo64Q3yoZ0ag53U0jXtAvXNEPjUlVPzz8uf37Zx WPgqwEA93NSOP0rq/xqVpTRBtzZdHn6jq7sv5fh0qnzt+QQ49RC2t/5LiGXOq66MDlz2Z7LqZ aje4rVCobfWurWwIRwvRHhCSCwDN5HvwXBop8MazOaZK4p8rxxiSPmB8ULdTi0zBLJZL9E3r X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231349 Archived-At: On Sun, 25 Nov 2018 11:49:22 -0500 Stefan Monnier wrote: >> And also tell me how to avoid a possible reoccurrence of in future >> commits? > > Hard to help if you don't give us at least a hint of what commands/UI > you used to do the commit. Did you use "git commit" on the command > line, or Magit, or VC, or something yet different? I used VC. The file was listed in *vc-dir*, but it has been for ages and was never a problem before. But this time after I committed the change the status of that file also changed to "up-to-date", which suprised me but, unfortunately, didn't stop me from pressing `P' to push the commit (since, again, that file had "always" been there but never got into a previous commit). I know I should have stopped to think, and hopefully I will in future, but I wonder how that file became part of the commit in the first place (again, I never knowingly touched it). Steve Berman