From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.devel Subject: vc-region-authors (or some such) Date: Fri, 12 Dec 2014 10:06:24 +0100 Organization: Sebastien Vauban Message-ID: <86iohhb5kf.fsf_-_@example.com> References: <20141211092138.6D5F6C008E@snark.thyrsus.com> <20141211123629.GA25499@thyrsus.com> <87a92uuicq.fsf@Gertrud.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418375255 22856 80.91.229.3 (12 Dec 2014 09:07:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 09:07:35 +0000 (UTC) To: emacs-devel-mXXj517/zsQ@public.gmane.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Dec 12 10:07:29 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzMC8-00029L-5e for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 10:07:28 +0100 Original-Received: from localhost ([::1]:56116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMC7-0000YX-Km for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 04:07:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMBh-0000Pr-DP for emacs-devel-mXXj517/zsQ@public.gmane.org; Fri, 12 Dec 2014 04:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzMBZ-0006GK-5E for emacs-devel-mXXj517/zsQ@public.gmane.org; Fri, 12 Dec 2014 04:07:01 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMBY-0006Fw-MU for emacs-devel-mXXj517/zsQ@public.gmane.org; Fri, 12 Dec 2014 04:06:52 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XzMBX-0001DL-Bo for emacs-devel-mXXj517/zsQ@public.gmane.org; Fri, 12 Dec 2014 10:06:51 +0100 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 10:06:51 +0100 Original-Received: from sva-news by dd5e0353a.access.telenet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 10:06:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: dd5e0353a.access.telenet.be X-Url: Under construction... X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:wJkgAGMhjK7o8iWzENEqfg+g/1E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 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-mXXj517/zsQ@public.gmane.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.devel:179868 Archived-At: Hello Stefan, Stefan Monnier wrote: >> Using vc-git in this way is hampered by vc-git not tracking history >> across renames. > > Indeed, vc-git.el should use --follow when possible. > > BTW, while implementing vc-region-history (which only works with vc-git > so far and for the foreseeable future) I noticed that Git does not > support --follow for the -L%d,%d:%s case, even though that only applies > to a single file. Talking of `vc-region-history' reminded me of a feature I find powerful, would it be easily available: "showing blame information about original authors of lines changed or removed in a given branch". =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 "This is useful when opening pull requests per GitHub Flow; you= 'll want =E2=94=82 your pull request reviewed by colleagues but you might not be s= ure who =E2=94=82 to ping. With git-overwritten you'll get the names of people wh= o wrote =E2=94=82 the lines you just changed, so you'll know who to @-mention whe= n opening =E2=94=82 a pull request." =E2=94=82=20=20 =E2=94=82 -- http://mislav.uniqpath.com/2014/02/hidden-documentation/, "B= onus script" =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 Maybe it'd be worth to think about that as well while implementing `vc-region-history'. It seems to be its twin, no? Best regards, Seb --=20 Sebastien Vauban