From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#27953: vc-region-history doesn't follow renames Date: Fri, 04 Aug 2017 19:40:09 +0200 Message-ID: <87o9rvkz9i.fsf@linux-m68k.org> References: <428b41c8-3687-2d49-bce8-1ef37ed4186c@live.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501868477 9735 195.159.176.226 (4 Aug 2017 17:41:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2017 17:41:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel , 27953@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 04 19:41:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ddgav-00021I-Vu for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 19:41:06 +0200 Original-Received: from localhost ([::1]:41182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddgb2-0005Ph-7q for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Aug 2017 13:41:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddgaw-0005PU-Vu for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 13:41:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddgas-00087e-2z for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 13:41:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddgar-00087T-VH for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 13:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddgar-0008Q5-Mn for bug-gnu-emacs@gnu.org; Fri, 04 Aug 2017 13:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Aug 2017 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27953 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27953-submit@debbugs.gnu.org id=B27953.150186841932305 (code B ref 27953); Fri, 04 Aug 2017 17:41:01 +0000 Original-Received: (at 27953) by debbugs.gnu.org; 4 Aug 2017 17:40:19 +0000 Original-Received: from localhost ([127.0.0.1]:42030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddgaB-0008Oy-3K for submit@debbugs.gnu.org; Fri, 04 Aug 2017 13:40:19 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:46324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddga8-0008Oo-8U for 27953@debbugs.gnu.org; Fri, 04 Aug 2017 13:40:16 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3xPDht4s3Hz1qr7j; Fri, 4 Aug 2017 19:40:14 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3xPDht3hjzz3jR9Z; Fri, 4 Aug 2017 19:40:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 4fqph4NeGsR5; Fri, 4 Aug 2017 19:40:10 +0200 (CEST) X-Auth-Info: vs8/1fcwgbN4gzfR02E8KsTt3AddUH0lRGJquV4qPuQigLHLoyF9UnUEbevDuKVa Original-Received: from igel.home (ppp-88-217-1-226.dynamic.mnet-online.de [88.217.1.226]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 4 Aug 2017 19:40:10 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 85E562C3623; Fri, 4 Aug 2017 19:40:09 +0200 (CEST) X-Yow: I'm in LOVE with DON KNOTTS!! In-Reply-To: (Stefan Monnier's message of "Fri, 04 Aug 2017 13:21:35 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135357 Archived-At: On Aug 04 2017, Stefan Monnier wrote: >> Indeed, `git log -p --follow -L5,25:file.c' doesn't work. But `git >> log -p --follow -L5,25:file.c file.c' does work (note the extra mention of >> the file name). > > Hmm... what's the difference between > > git log -p -L5,25:file.c > and > git log -p -L5,25:file.c file.c The latter is supposed to be invalid: -L ,:, -L :: Trace the evolution of the line range given by "," (or the function name regex ) within the . You may not ^^^^^^^^^^^ give any pathspec limiters. ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Would this issue deserve a bug-report to Git? It does. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."