From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: git history tracking across renames (and emacs support), Re: git history tracking across renames (and emacs support), Re: git history tracking across renames (and emacs support), Re: git history tracking across renames (and emacs support) Date: Wed, 11 Jul 2018 10:13:47 -0700 Message-ID: <87fu0plmpg.fsf@ericabrahamsen.net> 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> <838t6jgl1k.fsf@gnu.org> <601m6cc6.fsf@lifelogs.com> <83o9fefnv9.fsf@gnu.org> <83o9fefnv9.fsf@gnu.org> <83in5lg4ol.fsf@gnu.org> <398050a2-2224-f0a8-279a-ae4924e219f7@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1531329313 3458 195.159.176.226 (11 Jul 2018 17:15:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2018 17:15:13 +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 Jul 11 19:15:09 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 1fdIho-0000m1-BH for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2018 19:15:08 +0200 Original-Received: from localhost ([::1]:54824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdIju-00042g-Ro for ged-emacs-devel@m.gmane.org; Wed, 11 Jul 2018 13:17:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdIjg-0003zp-Qg for emacs-devel@gnu.org; Wed, 11 Jul 2018 13:17:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdIjd-0008Sf-M9 for emacs-devel@gnu.org; Wed, 11 Jul 2018 13:17:04 -0400 Original-Received: from [195.159.176.226] (port=46803 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdIjd-0008SF-EG for emacs-devel@gnu.org; Wed, 11 Jul 2018 13:17:01 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fdIhU-0000NS-80 for emacs-devel@gnu.org; Wed, 11 Jul 2018 19:14:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:bHEsv0iHRjXPZNw3v9uLH0UjiP4= 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:227254 Archived-At: Clément Pit-Claudel writes: > On 2018-07-11 11:42, Eli Zaretskii wrote: >> If someone would like to write a command that looks at the last commit >> (or several commits), and generates a skeleton of a log entry, I'm all >> for it. (People will have to "git commit --amend" to use such a >> command, but that's not a problem, I think, and could also be >> automated.) > > Indeed, I suspect a simple magit extension to populate the current > commit message buffer with the appropriate text would satisfy most > people who dislike the current format. > (I'm suggesting magit because I don't know how the build-in VC > frontend works in terms of inputing commit messages) I use `magit-commit-add-log' ("C" in the magit diff buffer) and that gets me close enough to the correct format that it's only a small pain to get the rest of the way there. Perhaps all that's needed is a refinement for that command (mostly in the way it accumulates symbol names as you use it multiple times). Eric