From: Sam Ravnborg Date: Sun, 19 Feb 2006 19:42:52 +0100 Subject: [U-Boot-Users] Subject: [PATCH] Git ignore generated files in sub-directory tools. In-Reply-To: <20060109213640.21653353A66@atlas.denx.de> References: <1136841372.29751.56.camel@cashmere.sps.mot.com> <20060109213640.21653353A66@atlas.denx.de> Message-ID: <20060219184252.GA8860@mars.ravnborg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Jan 09, 2006 at 10:36:40PM +0100, Wolfgang Denk wrote: > In message <1136841372.29751.56.camel@cashmere.sps.mot.com> you wrote: > > > > > What is this good for? All these files go aways when your run a make > > > mrproper ? > > > > True. But the interesting command before that is > > usually "git status", where they show up, but should > > not ever be checked in. Separate concept that cleaning; > > Correct. And this is why I reject this patch: I use exactly this > mechanism to verify that "make mrproper" really cleans up everything > it is expected to clean. [Old thread...] git ls-files -o does a better job identifying stale files. git status is useful during a normal development practice where you do not want to see loads of .o files that you know are there, but just want to see that nothing new stuff is hanging around. Sam