From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: git history tracking across renames (and emacs support) Date: Fri, 13 Jul 2018 09:16:17 +0300 Message-ID: <83muuvek3y.fsf@gnu.org> References: <86shbprix7.fsf_-_@dod.no> <838t6jgl1k.fsf@gnu.org> <601m6cc6.fsf@lifelogs.com> <83o9fefnv9.fsf@gnu.org> <83in5lg4ol.fsf@gnu.org> <83efg9fxnj.fsf@gnu.org> <838t6hfa4h.fsf@gnu.org> <87h8l4lt9q.fsf@gmail.com> <831sc8fttu.fsf@gnu.org> <87a7qwzahe.fsf@gmail.com> <87k1q0xuja.fsf@gmail.com> <83pnzse6by.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531462464 29224 195.159.176.226 (13 Jul 2018 06:14:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 06:14:24 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org, cpitclaudel@gmail.com, joaotavora@gmail.com, monnier@IRO.UMontreal.CA To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 08:14:19 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 1fdrLP-0007WN-Oc for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 08:14:19 +0200 Original-Received: from localhost ([::1]:35425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdrNW-0000rx-QF for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 02:16:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdrNN-0000rf-O9 for emacs-devel@gnu.org; Fri, 13 Jul 2018 02:16:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdrNI-0003uB-RS for emacs-devel@gnu.org; Fri, 13 Jul 2018 02:16:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdrNI-0003u5-NS; Fri, 13 Jul 2018 02:16:16 -0400 Original-Received: from [176.228.60.248] (port=1884 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fdrNI-0006Ld-28; Fri, 13 Jul 2018 02:16:16 -0400 In-reply-to: (message from Ted Zlatanov on Thu, 12 Jul 2018 19:37:56 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:227318 Archived-At: > From: Ted Zlatanov > Cc: João Távora , > larsi@gnus.org, cpitclaudel@gmail.com, monnier@IRO.UMontreal.CA, > emacs-devel@gnu.org > Date: Thu, 12 Jul 2018 19:37:56 +0000 > > >> > BTW, there's diff-add-change-log-entries-other-window (bound to `C-x > >> > 4 A` in diff-mode) which already tries to create the list of entries > >> > from the diff. > >> > [ It turns out it's not as easy as it seems to make it work well :-( ] > >> > >> Thanks, didn't know that. > > EZ> It's an invaluable feature when you need to generate log entries from > EZ> diffs that someone submitted without ones. > > That's more or less what I'm suggesting, except it should be more of an > interactive editor with auto or manual refreshing, not a one-shot > command. If you ever used it, then you know that all it does is generate the names of the functions to which the hunks belong. That's important, but it is not the only important part in the log, of course. And it doesn't work at all when you are presented with a merge-commit, because that one has no diffs with Git.