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 17:02:03 -0500 Message-ID: References: <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> <83mv1ubrlu.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515016944 13318 195.159.176.226 (3 Jan 2018 22:02:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2018 22:02:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 03 23:02:20 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 1eWr6w-0002Zd-Co for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2018 23:02:10 +0100 Original-Received: from localhost ([::1]:38869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWr8t-0004j1-Qy for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2018 17:04:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWr76-0003y4-KS for emacs-devel@gnu.org; Wed, 03 Jan 2018 17:02:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWr72-0001Wf-I4 for emacs-devel@gnu.org; Wed, 03 Jan 2018 17:02:20 -0500 Original-Received: from [195.159.176.226] (port=59346 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWr72-0001W1-Bd for emacs-devel@gnu.org; Wed, 03 Jan 2018 17:02:16 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eWr4w-0003TA-Ip for emacs-devel@gnu.org; Wed, 03 Jan 2018 23:00:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:frq5HgnOSCfSDoJmoc1QiDMbN9s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:221564 Archived-At: > So you remember when each release was made? Wikipedia does (that's what I use to find that part of the information). > And also when the corresponding release branch was cut? If I know that the commit was before the release branch was cut, then I don't even need to look at the final code. But usually, I don't know that and I don't know either on which branch the commit was installed. That's the reason that I need to check the actual code of the release. > And mind you, in my scenario many times the date of the change is not > given. Rather, someone complains about something in version XX.YY, > and I suspect some feature/change, but don't have a clear idea whether > that feature/change was introduced before or after that version. I look at the feature's code, dig in with vc-region-history to get the corresponding commit, and that gives me the date. vc-region-history is almost always the first thing I use when it comes to "commit/changelog" info. And that's also where the subject of this thread hurts (I sometimes resort to making a "git worktree add" to get the revision before the file was moved, and use vc-region-history on that to see the rest of the history). Stefan