From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Magit reports binary files that don't exist Date: Fri, 22 Aug 2014 23:43:03 +0700 Message-ID: References: <878umg7opp.fsf@gmail.com> <87ppfsbpx0.fsf@wanadoo.es> <87r40861f7.fsf@gmail.com> <87lhqgbmsr.fsf@wanadoo.es> <87lhqga4r0.fsf@gmail.com> 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 1408725811 3790 80.91.229.3 (22 Aug 2014 16:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2014 16:43:31 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 18:43:24 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1XKrvp-0002au-J9 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Aug 2014 18:43:17 +0200 Original-Received: from localhost ([::1]:38407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKrvp-000080-1Q for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Aug 2014 12:43:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKrvd-00007W-H8 for help-gnu-emacs@gnu.org; Fri, 22 Aug 2014 12:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKrvc-0007Vg-Pe for help-gnu-emacs@gnu.org; Fri, 22 Aug 2014 12:43:05 -0400 Original-Received: from mail-ig0-x22e.google.com ([2607:f8b0:4001:c05::22e]:56545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKrvc-0007VS-LN for help-gnu-emacs@gnu.org; Fri, 22 Aug 2014 12:43:04 -0400 Original-Received: by mail-ig0-f174.google.com with SMTP id c1so15230455igq.7 for ; Fri, 22 Aug 2014 09:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:cc:content-type:content-transfer-encoding; bh=5pvgFw3+F05TTB96xM3rF1x4PN8QLsGnqrb6yj4FNZQ=; b=MA/ALGTbO7oqwFL0pQXaygVG2LxQPvKGYB2we7px/hjWQZ4FJFEIC9uB9YWhsZ+bjv ZCG21XKQe4nbBeoAFsVyQnopna3dkfvAQHlAfhlHEb4qLQXsfMaPtovbv0XaYcIxk1Pn aKJFJenhsS0MIz5DSigA60HaUqp/s3Yo7CxKWZogRss2LZII1fRzZsjZ11zqdxpfkMmu /rDYFwfp9lU7ZToTug357aDl5zuKeZny2OBnC6NaFwCjH6PanIvJD6rAMfJ/ztJU/JCj NJ6AzSSfSrE7PgboJBrPOMJAUnzUpKkyTgQian3TlY57VadnnGUShc0u+D44tKaBWOie EiGw== X-Received: by 10.50.43.193 with SMTP id y1mr12532836igl.32.1408725783918; Fri, 22 Aug 2014 09:43:03 -0700 (PDT) Original-Received: by 10.107.130.3 with HTTP; Fri, 22 Aug 2014 09:43:03 -0700 (PDT) In-Reply-To: <87lhqga4r0.fsf@gmail.com> X-Google-Sender-Auth: 4C_41a-wFFkJGRvZkO6CAuHEnSs X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99351 Archived-At: On Fri, Aug 22, 2014 at 11:06 PM, Thorsten Jolitz wrote= : > Its relatively new for me too, and I'm managing hundreds of .el files too > for quite some time now. Open up the log in gitk. Find a file that is detected as binary. Right-click it in the bottom right frame, select =E2=80=9CHighlight this only=E2=80=9D. This will highlight all commits where this file is modified with bold in the top frame. (Why gitk and not magit? Because gitk shows you a list of commits and the diff in one window, and you can just press the down arrow until you hit the commit you=E2=80=99re looking f= or. Magit only shows you the list of commits and you have to press Enter or Space on each in order to see diffs.) Now follow the trail. Several topmost commits will report that the file is binary and that it changed. Eventually, though, you will find the first commit that introduced binariness to this file. Check out that commit. Look at the file. Maybe do a =E2=80=98diff -au=E2=80= =99 against its previous version (when it was still text). Look what changed. Think which specific change could make a text file binary.