From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#8756: 23.3; vc-git.el doesn't use --follow argument in vc-git-print-log Date: Tue, 31 May 2011 01:25:51 -0400 Message-ID: References: <87sjrxl0r1.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1306819575 18152 80.91.229.12 (31 May 2011 05:26:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 May 2011 05:26:15 +0000 (UTC) Cc: 8756@debbugs.gnu.org To: Steinar Bang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 31 07:26:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QRHSx-0007az-II for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 May 2011 07:26:07 +0200 Original-Received: from localhost ([::1]:50316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRHSx-0004Q1-1a for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 May 2011 01:26:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRHSt-0004PD-Ey for bug-gnu-emacs@gnu.org; Tue, 31 May 2011 01:26:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRHSs-0002zm-FB for bug-gnu-emacs@gnu.org; Tue, 31 May 2011 01:26:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRHSs-0002zd-AI for bug-gnu-emacs@gnu.org; Tue, 31 May 2011 01:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QRHSs-000437-34; Tue, 31 May 2011 01:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 May 2011 05:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8756 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8756-submit@debbugs.gnu.org id=B8756.130681956015557 (code B ref 8756); Tue, 31 May 2011 05:26:02 +0000 Original-Received: (at 8756) by debbugs.gnu.org; 31 May 2011 05:26:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QRHSq-00042s-5h for submit@debbugs.gnu.org; Tue, 31 May 2011 01:26:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QRHSo-00042h-3g for 8756@debbugs.gnu.org; Tue, 31 May 2011 01:25:58 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QRHSi-0001Ok-6Y; Tue, 31 May 2011 01:25:52 -0400 In-Reply-To: <87sjrxl0r1.fsf@dod.no> (Steinar Bang's message of "Sun, 29 May 2011 22:17:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 31 May 2011 01:26:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46837 Archived-At: Steinar Bang writes: > When pressing `C-x v l' in a git versioned file with a long history, > that had just been moved, I got just the single commit resulting from > the move. > > If the vc-git-print-log command adds the "--follow" argument, the log > printed by `C-x v l' is the full history of that file. > > Here's the documentation of --follow from the git-log man page: > --follow > Continue listing the history of a file beyond renames (works only for a single file). I tried doing that at some point, but the result is not completely functional, these commands do not work: "d" (log-view-diff) "f" (log-view-find-revision) "a" (log-view-annotate-revision) which means that the corresponding vc-git.el functions need updating. If someone figures out what git commands/sequence of commands are needed to implement these, then it should not be too hard to implement the needed changes.