From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#19045: 25.0.50; [PATCH] vc-git-print-log use --follow Date: Sun, 11 Feb 2018 23:22:59 +0200 Organization: LINKOV.NET Message-ID: <87vaf3cjbg.fsf@mail.linkov.net> References: <87d28rt4jl.fsf@telefonica.net> <874lmxloo1.fsf@mail.linkov.net> <83fu692jdu.fsf@gnu.org> <87lgg0sgbz.fsf@mail.linkov.net> <83bmgv1ol3.fsf@gnu.org> <873727xxvf.fsf@linux-m68k.org> <8360731lr9.fsf@gnu.org> <87d11bwfly.fsf@linux-m68k.org> <83y3jzz7hr.fsf@gnu.org> 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 1518384261 4461 195.159.176.226 (11 Feb 2018 21:24:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Feb 2018 21:24:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 19045@debbugs.gnu.org, Andreas Schwab To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 11 22:24:17 2018 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 1ekz6W-0000L7-Bf for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 22:24:08 +0100 Original-Received: from localhost ([::1]:57544 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekz8Y-0005aJ-3d for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Feb 2018 16:26:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekz8P-0005ZU-SX for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekz8M-0000TO-52 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:26:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekz8M-0000SZ-0n for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekz8L-0001NB-P3 for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2018 16:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2018 21:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19045 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19045-submit@debbugs.gnu.org id=B19045.15183843505260 (code B ref 19045); Sun, 11 Feb 2018 21:26:01 +0000 Original-Received: (at 19045) by debbugs.gnu.org; 11 Feb 2018 21:25:50 +0000 Original-Received: from localhost ([127.0.0.1]:38665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekz89-0001Ml-6h for submit@debbugs.gnu.org; Sun, 11 Feb 2018 16:25:50 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:43172 helo=homiemail-a100.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekz87-0001Md-G9 for 19045@debbugs.gnu.org; Sun, 11 Feb 2018 16:25:47 -0500 Original-Received: from homiemail-a100.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a100.g.dreamhost.com (Postfix) with ESMTP id 6D35A31A073; Sun, 11 Feb 2018 13:25:46 -0800 (PST) Original-Received: from localhost.linkov.net (m91-129-100-74.cust.tele2.ee [91.129.100.74]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a100.g.dreamhost.com (Postfix) with ESMTPSA id 4A5C531A070; Sun, 11 Feb 2018 13:25:45 -0800 (PST) In-Reply-To: <83y3jzz7hr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Feb 2018 20:49:52 +0200") 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:143175 Archived-At: > Juri, can you please re-check with directories? They seem to work > fine here, so disabling them in this case sounds unnecessary. Please clarify where directories work fine: in git command line or in Emacs using vc-git? In the command line of git version 1.9.1 running git log on two files (command line copied from *Messages* when vc-command-messages is t) git --no-pager log --no-color --follow -n 2000 -- vc-dispatcher.el vc-g= it.el fails with the error: usage: git logs can only follow renames on one pathname at a time whereas running git on one directory =E2=80=98vc=E2=80=99 git --no-pager log --no-color --follow -n 2000 -- vc doesn't fail. Although I can't confirm the correctness of the output log= : it seems the option =E2=80=98--follow=E2=80=99 has no effect on directori= es. Now there is a different story for vc-git.el. There are 4 versions of it= : 1. the initial version without the option added in =E2=80=98vc-git-print-= log=E2=80=99 2. the old version that always used "--follow" 3. the previous version that added "--follow" only when the arg =E2=80=98files=E2=80=99 contains no directories 4. the current version that additionally checks the length of =E2=80=98fi= les=E2=80=99 and adds "--follow" only for a single file in =E2=80=98files=E2=80=99. Which version did you check?