From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Commit mistake? Date: Sun, 25 Nov 2018 13:16:35 -0500 Message-ID: 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 1543169733 6048 195.159.176.226 (25 Nov 2018 18:15:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2018 18:15:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 25 19:15:29 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 1gQywK-0001Rs-NG for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2018 19:15:28 +0100 Original-Received: from localhost ([::1]:60794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQyyR-0004MC-97 for ged-emacs-devel@m.gmane.org; Sun, 25 Nov 2018 13:17:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQyxZ-0004Ko-MI for emacs-devel@gnu.org; Sun, 25 Nov 2018 13:16:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQyxU-0003Oe-Q8 for emacs-devel@gnu.org; Sun, 25 Nov 2018 13:16:45 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:44943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQyxU-0003OA-Lk for emacs-devel@gnu.org; Sun, 25 Nov 2018 13:16:40 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id wAPIGYdV000698; Sun, 25 Nov 2018 13:16:34 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 39DEEAE5E8; Sun, 25 Nov 2018 13:16:35 -0500 (EST) In-Reply-To: <87d0qtqe30.fsf@gmx.net> (Stephen Berman's message of "Sun, 25 Nov 2018 18:09:07 +0100") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6425=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6425> : inlines <6970> : streams <1805312> : uri <2755556> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:231358 Archived-At: > 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). 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. > 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)? Stefan