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: git history tracking across renames (and emacs support) Date: Wed, 03 Jan 2018 15:17:55 -0500 Message-ID: References: <87ind6l2tt.fsf@lifelogs.com> <877etklvsa.fsf@lifelogs.com> <83y3m0pv8u.fsf@gnu.org> <86608msw0h.fsf@dod.no> <838tdiet25.fsf@gnu.org> <87y3li4vh7.fsf@telefonica.net> <87efnan46u.fsf@linux-m68k.org> <86wp12qtgo.fsf@dod.no> <83tvw6chqv.fsf@gnu.org> <86shbprix7.fsf_-_@dod.no> <83608kck4c.fsf@gnu.org> <544c170f-99bd-c701-3063-c697296a30a6@cs.ucla.edu> <83po6rar9c.fsf@gnu.org> <83o9mabwks.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515010589 10876 195.159.176.226 (3 Jan 2018 20:16:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2018 20:16:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 03 21:16:24 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 1eWpSV-0002J2-Ef for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2018 21:16:19 +0100 Original-Received: from localhost ([::1]:35619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWpUU-0000wn-G6 for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2018 15:18:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWpUB-0000le-Mv for emacs-devel@gnu.org; Wed, 03 Jan 2018 15:18:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWpUA-00022U-RM for emacs-devel@gnu.org; Wed, 03 Jan 2018 15:18:03 -0500 Original-Received: from pmta31.teksavvy.com ([76.10.157.38]:63469) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWpU5-0001x0-Ac; Wed, 03 Jan 2018 15:17:57 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GaEADUOU1a/xCds2tdg29GgRSDbYVch?= =?us-ascii?q?geOEQGCADMBmQsKhTUEAgKEL0QUAQEBAQEBAQEBA2gohSUBBAFWIxALNBIUGA0?= =?us-ascii?q?kijkItDmKPQEBCCiEE4VRgy6LGgWTNZAcoUGHdpcGgTw2I4FPMhoIMIJnhHQji?= =?us-ascii?q?goBAQE?= X-IPAS-Result: =?us-ascii?q?A2GaEADUOU1a/xCds2tdg29GgRSDbYVchgeOEQGCADMBmQs?= =?us-ascii?q?KhTUEAgKEL0QUAQEBAQEBAQEBA2gohSUBBAFWIxALNBIUGA0kijkItDmKPQEBC?= =?us-ascii?q?CiEE4VRgy6LGgWTNZAcoUGHdpcGgTw2I4FPMhoIMIJnhHQjigoBAQE?= X-IronPort-AV: E=Sophos;i="5.45,503,1508817600"; d="scan'208";a="16704402" Original-Received: from 107-179-157-16.cpe.teksavvy.com (HELO ceviche.home) ([107.179.157.16]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jan 2018 15:17:56 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 7AC1E6630A; Wed, 3 Jan 2018 15:17:55 -0500 (EST) In-Reply-To: <83o9mabwks.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 Jan 2018 20:56:19 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.10.157.38 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:221561 Archived-At: >> > from Git history. One example is establishing whether some change was >> > in Emacs XX.YY or in a later version. >> FWIW, I generally do that by comparing the change to the actual code of >> Emacs-XX.YY. > How do you do that when XX.YY is not known in advance? Check every > version of Emacs from the last one back? That's not really efficient. I'm not saying it's the best way, just that it's the way I've done it so far (I guess I could have used the ChangeLog, but it's just not part of the things that cross my mind). I haven't needed it very often and usually I can guess from the change date what version it likely belongs to, so I can't remember having had to look at more than 1 version (and since I have Emacs versions 19.34, 20.7, 21.4, 22.3, 23.4, 24.5, and 25.2 readily installed on my machine, it's very easy to check for those versions). Stefan