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 19:42:45 +0100 Message-ID: <874lc5q9qy.fsf@gmx.net> References: <87pnutqol6.fsf@gmx.net> <87d0qtqe30.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1543171300 8151 195.159.176.226 (25 Nov 2018 18:41:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2018 18:41:40 +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 19:41:36 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 1gQzLc-00020h-7G for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2018 19:41:36 +0100 Original-Received: from localhost ([::1]:60863 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQzNi-000600-MZ for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2018 13:43:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQzN3-0005zu-FL for emacs-devel@gnu.org; Sun, 25 Nov 2018 13:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQzMy-00078V-Hw for emacs-devel@gnu.org; Sun, 25 Nov 2018 13:43:05 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:50785) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQzMy-00077z-9n for emacs-devel@gnu.org; Sun, 25 Nov 2018 13:43:00 -0500 Original-Received: from rosalinde ([178.6.221.215]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lfppu-1fbgJJ1m4A-00pMRL; Sun, 25 Nov 2018 19:42:47 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 25 Nov 2018 13:16:35 -0500") X-Provags-ID: V03:K1:sGuaAaX14uWaKihR3F7hL/CyxqLfAKxnsLkIdi9HufHEZd6Jg+5 DI+tNnwyEBcaYLIHqxvyucVLxyY51HlZJ5uuRO2p70m4aIaH/yYGPH8Wjy1P0vZj9CPP+ZA dYPnv8Il/AWYGdobDumLOfIFOYBJMMTYXP2KpHGfcvKUmZY+LjXJJx56Gkz3tk29OqaGDMb EDczttyyKz+sLtBWnJRyA== X-UI-Out-Filterresults: notjunk:1;V03:K0:rXHEkc6ynCk=:ABRGr4KiJENVJTckAW9ttE dGssztAx5rmNCud80WVaW+wMiLZpfJBl7j1KLkpI9mgiDhUFuizprwCSpoiFQEVn5QedUbgxm xpcWHj8gErIFxEfCl+B/K31w+AcE4klJ7/eBFn2o21QWc13ckDzRaqNbIAP7MIRG05wGk2629 7SkWwi8iaJhdk3nLry9xQJJHeRQUc9kp33teVEs3pWI9t24XfORHKgd04rlaVGmDj3XSNAzMP NXaEUKAYzsel0jdja/JUrjyG1Cpc7NVoc2bBpbkmgK9Tc98v5Wcf0oy8kP4Mi8qsBn7yI+BTp c1LY+A7CDCzq8zOrCt7TCh6YNSWGQoPA3+j7no5PHvTzWc5JEo6TFbVU4z/rldTJreuRH18Nx ZCPScZWbh2GS/aUFwov+GvCB2INa4OVOFHRRxrt2TB4kv09zKg0028q5lGFF0I+09yqMymNlz UiT0uG9Z6prVZa31OGbRpdKNhIyi9e2lW2UgnBf1NSbbeOtZ475OhIIn7UMasjuvk/6Pe2eKM DFybyvMU5Cuvvu/9uNsKlW1MqLDYRXboAOT8ZSepjb2zPaKgNzulfZ3sUySGKi4wC7Sibt1di 4PoGsu+wiOqiamxHhAL3peV2jjyk6jTq13zmAdf4ZW0xtG7l2ttoRGLbh/stRLQ0km0Gvd24j vzmaWKI11SUULDIzpxwjNeeTDCaHuIvtUbZR14OMG0YAHCYgs2QaHq32oUXR55cKoz9KjgVqA ucAYR0nluR3J2AccKsrAcGS3legDum5u8WFUAJ8ytOp/A1n3DJe7qQSFXI1j6zSLPO6rXSpU 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:231361 Archived-At: On Sun, 25 Nov 2018 13:16:35 -0500 Stefan Monnier wrote: >> I used VC. The file was listed in *vc-dir*, but it has been for ages >> and was never a problem before. > > Hmm... IIUC it was there because it's a file we used to generate but we > don't generate any more, so it's not ignored by .gitignore any more > (i.e. you should just `rm` it). Yes, I've since done that. > I recommend you don't ignore files marked as "unknown" in *vc-dir*: > they're a sign that there's a problem somewhere and it should be fixed > either by removing the file, or renaming it, or by changing .gitignore. Thanks, I'll bear that in mind. >> But this time after I committed the change the status of that file >> also changed to "up-to-date", which suprised me but, unfortunately, > > Do you remember exactly how you caused the commit? I guess you used `v` > in *vc-dir*, but did you first select the files you wanted to commit, or > did you rely on the position of point to specify the file(s) (maybe > with point placed on a directory)? I'm pretty sure I marked only the file I wanted to commit and then typed `v' -- that's what I habitually do -- but I can't categorically rule out that I may have just typed `v' without marking. I also don't recall seeing the unwanted file in the list of files shown when editing the commit message, but here too, I may have overlooked it. Steve