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: Thu, 12 Jul 2018 16:06:50 -0400 Message-ID: References: <83tvw6chqv.fsf@gnu.org> <86shbprix7.fsf_-_@dod.no> <838t6jgl1k.fsf@gnu.org> <601m6cc6.fsf@lifelogs.com> <83o9fefnv9.fsf@gnu.org> <83in5lg4ol.fsf@gnu.org> <83efg9fxnj.fsf@gnu.org> <877em078mz.fsf@tcd.ie> <87muuwo0wh.fsf@gmail.com> <87o9fcmdfb.fsf@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 1531425944 29770 195.159.176.226 (12 Jul 2018 20:05:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2018 20:05:44 +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 Thu Jul 12 22:05:40 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 1fdhqN-0007fA-OS for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 22:05:39 +0200 Original-Received: from localhost ([::1]:33850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdhsU-0007a9-Is for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 16:07:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdhrn-0007a1-Nl for emacs-devel@gnu.org; Thu, 12 Jul 2018 16:07:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdhrk-00054G-I1 for emacs-devel@gnu.org; Thu, 12 Jul 2018 16:07:07 -0400 Original-Received: from [195.159.176.226] (port=57342 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdhrk-00052R-9O for emacs-devel@gnu.org; Thu, 12 Jul 2018 16:07:04 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fdhpa-0006iU-Im for emacs-devel@gnu.org; Thu, 12 Jul 2018 22:04:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:C8/gND1amv1VcU5dt+TsoUkodOg= 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:227298 Archived-At: > I never said it was natural, Iʼm just used to it. If there was a way > to do hunk-by-hunk commit message accumulation from magit's diffs, > then I think Iʼd prefer that, since it would allow me to skip the > 'visit the file/hunk from the diff, C-x 4 a' portion of generating a > commit message, You can use `C-x 4 a` from the diff, at least (it will still go to the ChangeLog rather than the vc-log, tho). > and would allow me to avoid vc-dir completely. Or a > magit command I could point at just my staged files to generate the > ChangeLog entries. (isnʼt this vc-chlog? Iʼve not tried it yet) Generate the diff and then use `C-x 4 A` from the diff. It should be fairly easy to combine the two into a single command. Stefan