From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: git history tracking across renames (and emacs support) Date: Thu, 12 Jul 2018 22:28:28 +0200 Message-ID: <87k1q0mc5v.fsf@gmail.com> 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> <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: quoted-printable X-Trace: blaine.gmane.org 1531427228 19910 195.159.176.226 (12 Jul 2018 20:27:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2018 20:27:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 12 22:27:04 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 1fdiB5-00053S-K7 for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 22:27:03 +0200 Original-Received: from localhost ([::1]:33942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdiDC-0006pV-N3 for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2018 16:29:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdiCb-0006pQ-1C for emacs-devel@gnu.org; Thu, 12 Jul 2018 16:28:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdiCW-0007zG-4J for emacs-devel@gnu.org; Thu, 12 Jul 2018 16:28:37 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:34365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdiCV-0007y5-TQ for emacs-devel@gnu.org; Thu, 12 Jul 2018 16:28:32 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id s13-v6so2917005wmc.1 for ; Thu, 12 Jul 2018 13:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=fLondP64/tYz8ShJYGvz7AOB2lndbV2zD/t36AuVaug=; b=o8j0FYvcj17FFDB5ZqVz6OPrGxk3FrWgUFyehOQCZoVz15cDsJ8OR5RxKxNsoarvVv c9OQ8qi7CwTM35GYPMaeNCZo6+RugSb6WDRsKYKJcwKmk5YCjWFBJvZpAnor7MxBveiA igiJIhUjCiKF7A0CXZEDoKP/fdl0JP+X5PvmJAK373FNQGdVkfS3/M2VlB2WZcQKvMCp mEGsTunPM67YT1z5DMyxEhGiSfCduyNBDIMH/mPxNjuhPnQLsdBCI0sdw9RBRmd2fuIi kvM87QZ7BQy2wtwgarUbU0CfETjgps6zGjK21tUykC09jK9FGXB+uTIh+EcOCZEAtBcf osvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=fLondP64/tYz8ShJYGvz7AOB2lndbV2zD/t36AuVaug=; b=RPcLyNOqqXspVeh6F7UrYh85d4tPSvTa7AFmYIOL3htsQ9vGtGKXdbgW5sDgsOmzR0 lmSyFaizMboYP1FuWY14eFQc5kXscFMICszNa11m0qWrHCyor5iYxe6iYxEtVJX5vY6x cwJX8JpMksW2Ugx0kviI6De5m2a9UrdbgP9biLccWAav+X1Ux997kcan+iUfhIViAaW7 eZKqA3BzpLlu9tgHcHchQtNI/+BZ1UCvQs/pEZB2Im/YyUT0L+cY/WmfPfUZD5XlFqcd XamIupLEtVtHflz/tBUDSDstPLqVx/C1oJtbv1GqVTNkm9AMWxZCwkGwZXRfYhAxQXk7 8jLg== X-Gm-Message-State: AOUpUlF+b6X54lF90R2K+0rbdZEtRB8Od28PpgXfhq4H9E0CqqWeI59+ HbTbNm4aaKj+co87P5wysjayIW6w X-Google-Smtp-Source: AAOMgpcO1kYbPFOgnDOMj+q4oeIMq7RKgFNfbGSRdKWNnxY8a4PRxonhMZOfbNLXs57Rc6jwieAd7Q== X-Received: by 2002:a1c:dacb:: with SMTP id r194-v6mr2150156wmg.56.1531427310528; Thu, 12 Jul 2018 13:28:30 -0700 (PDT) Original-Received: from rpluim (vav06-1-78-207-202-134.fbx.proxad.net. [78.207.202.134]) by smtp.gmail.com with ESMTPSA id 73-v6sm8752249wmu.37.2018.07.12.13.28.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Jul 2018 13:28:29 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Thu, 12 Jul 2018 16:06:50 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c 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:227301 Archived-At: Stefan Monnier writes: >> I never said it was natural, I=CA=BCm 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=CA=BCd 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). Yes, that works from within a magit diff... >> 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=CA=BCt this vc-chlog? I=CA=BCve 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. ...but this doesn=CA=BCt. M-! git diff is always possible, but it would be nice if this could be integrated with the magit diff output, since it has useful options for specifying which files you want to diff. Robert