Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754219AbYG3Pmb (ORCPT ); Wed, 30 Jul 2008 11:42:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753722AbYG3PmU (ORCPT ); Wed, 30 Jul 2008 11:42:20 -0400 Received: from smtp5.pp.htv.fi ([213.243.153.39]:38851 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752255AbYG3PmT (ORCPT ); Wed, 30 Jul 2008 11:42:19 -0400 Date: Wed, 30 Jul 2008 18:41:27 +0300 From: Adrian Bunk To: Sam Ravnborg Cc: Florian Fainelli , "David S. Miller" , sparclinux@vger.kernel.org, LKML Subject: Re: [PATCH -next V2] Ignore drivers/video/console/promcon_tbl.c conmakehash generated file Message-ID: <20080730154127.GB21597@cs181140183.pp.htv.fi> References: <200807301156.13432.florian.fainelli@telecomint.eu> <20080730112620.GB19465@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20080730112620.GB19465@uranus.ravnborg.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1707 Lines: 48 On Wed, Jul 30, 2008 at 01:26:20PM +0200, Sam Ravnborg wrote: > On Wed, Jul 30, 2008 at 11:56:13AM +0200, Florian Fainelli wrote: > > Sorry for the previous version, I forgot reading that .gitignore files > > should be per-directory in this case. > > -- > > From: Florian Fainelli > > Subject: [PATCH -next V2] Ignore drivers/video/console/promcon_tbl.c conmakehash generated file > > > > Add drivers/video/console/promcon_tbl.c to the list of ignored files. > > This file is generated by conmakehash against drivers/video/console/prom.uni. > > > > Signed-off-by: Florian Fainelli > > --- > > diff --git a/drivers/video/console/.gitignore b/drivers/video/console/.gitignore > > new file mode 100644 > > index 0000000..ad0ad9b > > --- /dev/null > > +++ b/drivers/video/console/.gitignore > > @@ -0,0 +1,2 @@ > > +# Generated conmakehash files > > +drivers/video/console/promcon_tbl.c > > Did you test this? > I recall you should specify filenames relative to the > path of .gitignore. According to the manpage both should work. But I'd personally prefer it without a path since that's more robust in case of directory moves. > Sam cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/