From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Progress report on git-blame Date: Sun, 26 Jan 2014 00:03:47 +0100 Message-ID: <87r47v1x64.fsf@wanadoo.es> References: <20140109140226.57D6C38085A@snark.thyrsus.com> <20140110155121.GA8178@thyrsus.com> <20140111205925.GC17111@thyrsus.com> <87y52mdoha.fsf@fencepost.gnu.org> <87fvoceuos.fsf_-_@fencepost.gnu.org> <83d2jgcy5z.fsf@gnu.org> <87vbx8cu8a.fsf@fencepost.gnu.org> <87eh3v7wiq.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390691052 21658 80.91.229.3 (25 Jan 2014 23:04:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jan 2014 23:04:12 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 26 00:04:17 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 1W7CGr-00060Y-N6 for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 00:04:13 +0100 Original-Received: from localhost ([::1]:52817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7CGr-0004c8-8N for ged-emacs-devel@m.gmane.org; Sat, 25 Jan 2014 18:04:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7CGi-0004bC-Pe for emacs-devel@gnu.org; Sat, 25 Jan 2014 18:04:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7CGc-000655-Va for emacs-devel@gnu.org; Sat, 25 Jan 2014 18:04:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:39192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7CGc-000651-Oi for emacs-devel@gnu.org; Sat, 25 Jan 2014 18:03:58 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W7CGb-0005vJ-Mo for emacs-devel@gnu.org; Sun, 26 Jan 2014 00:03:57 +0100 Original-Received: from 231.red-83-41-62.dynamicip.rima-tde.net ([83.41.62.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jan 2014 00:03:57 +0100 Original-Received: from ofv by 231.red-83-41-62.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jan 2014 00:03:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 231.red-83-41-62.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:u/XE+QF79apnFBQLMOfbWroRYtc= 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@gnu.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@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169093 Archived-At: Stefan Monnier writes: > One more thing: "git blame" is of no use when you're trying to see not > "who wrote these lines when" but "who removed (and when) the lines that > aren't there any more". A "git log-and-diff" would handle that case > just fine, OTOH. When you know the content's of the line that was added/removed (or a peculiar enough part of it) you can use `git log -S ': $ git log -S chmod or, restricted to a path: $ git log -S chmod -- *.h for viewing the diffs too: $ git log -S chmod -p -- *.h There are lots of possibilities there. See `git help log' and search for `pickaxe'. All those cases are supported by Magit.