From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Wu Subject: Re: why does git perpetually complain about include/asm-blackfin/macros.h? Date: Tue, 03 Jul 2007 08:28:09 +0800 Organization: Analog Devices, Ltd. Message-ID: <1183422489.10353.2.camel@roc-laptop> References: <4688EF9B.8020405@garzik.org> <9a8748490707020658t5e6542ag6edb435dbc4499ab@mail.gmail.com> <20070702142430.GA10400@fiberbit.xs4all.nl> Reply-To: bryan.wu@analog.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jesper Juhl , Jeff Garzik , "Robert P. J. Day" , Linux Kernel Mailing List , Git Mailing List , Linus Torvalds To: Marco Roeland X-From: git-owner@vger.kernel.org Tue Jul 03 02:28:54 2007 connect(): Connection refused Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1I5WGD-0002Rw-W0 for gcvg-git@gmane.org; Tue, 03 Jul 2007 02:28:54 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757709AbXGCA2a (ORCPT ); Mon, 2 Jul 2007 20:28:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757697AbXGCA2a (ORCPT ); Mon, 2 Jul 2007 20:28:30 -0400 Received: from nwd2mail11.analog.com ([137.71.25.57]:8117 "EHLO nwd2mail11.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756634AbXGCA2O (ORCPT ); Mon, 2 Jul 2007 20:28:14 -0400 Received: from nwd2mhb1.analog.com ([137.71.5.12]) by nwd2mail11.analog.com with ESMTP; 02 Jul 2007 20:28:13 -0400 X-IronPort-AV: i="4.16,489,1175486400"; d="scan'208"; a="33932957:sNHT25540802" Received: from nwd2exm4.ad.analog.com (nwd2exm4.ad.analog.com [10.64.53.123]) by nwd2mhb1.analog.com (8.9.3 (PHNE_28810+JAGae91741)/8.9.3) with ESMTP id UAA24033; Mon, 2 Jul 2007 20:28:13 -0400 (EDT) Received: from chinexm1.ad.analog.com ([10.99.27.42]) by nwd2exm4.ad.analog.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 2 Jul 2007 20:28:12 -0400 Received: from 220.232.73.214 ([220.232.73.214]) by chinexm1.ad.analog.com ([10.99.27.42]) via Exchange Front-End Server owa.analog.com ([10.64.25.43]) with Microsoft Exchange Server HTTP-DAV ; Tue, 3 Jul 2007 00:28:09 +0000 Received: from roc-laptop by owa.analog.com; 03 Jul 2007 08:28:09 +0800 In-Reply-To: <20070702142430.GA10400@fiberbit.xs4all.nl> X-Mailer: Evolution 2.10.1 X-OriginalArrivalTime: 03 Jul 2007 00:28:12.0790 (UTC) FILETIME=[0A438160:01C7BD09] Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Mon, 2007-07-02 at 16:24 +0200, Marco Roeland wrote: > On Monday July 2nd 2007 at 15:58 Jesper Juhl wrote: > > > [obnoxious zero sized file include/asm-blackfin/macros.h that gets > > zapped by toolchains and resurrected again by git] > > > > I've seen that as well, but in my case doing a > > $ git reset --hard master > > fixed it. > > Dangerous, as it may overwrite local changes you have! A simple "git > checkout include/asm-blackfin/macros.h" is much safer in this case. > > In git commit df30b11 this file got redundant. Perhaps because a normal > patch was applied, instead of with git, the file didn't get deleted from > the repository but truncated to size zero. Not strictly wrong perse, but > for the Linux repository highly unusual (and the only one at that). > > Your toolchain perhaps deletes files with zero size after cleaning up or > something. Git then notices that you deleted this file. > > Perhaps someone can apply something like the following to finally fix > this up: > > commit 7d98740800f3d9ad2428afa8c677be9573a51b7b > Author: Marco Roeland > Date: Mon Jul 2 16:19:49 2007 +0200 > > Blackfin arch: remove zero-sized include/asm-blackfin/macros.h > > This file accidentally got truncated instead of deleted in commit df30b11. > > Signed-off-by: Marco Roeland > > diff --git a/include/asm-blackfin/macros.h b/include/asm-blackfin/macros.h > deleted file mode 100644 > index e69de29..0000000 > - Thanks, Applied to the blackfin-2.6.git tree for Linus pull. - Bryan > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html