From: Wolfgang Denk Date: Mon, 20 Feb 2006 00:16:38 +0100 Subject: [U-Boot-Users] Subject: [PATCH] Git ignore generated files in sub-directory tools. In-Reply-To: Your message of "Sun, 19 Feb 2006 22:09:01 +0100." <20060219210901.GA23565@mars.ravnborg.org> Message-ID: <20060219231638.95639353ABF@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <20060219210901.GA23565@mars.ravnborg.org> you wrote: > > If all files created during a build are included in .gitignore files > then if you issue: 'git status' at any point in time (no need to > run mrproper) you will get an overview over: > - modified files > - new files (listed as untracked files) > and more importanly the git status output is not cluttered with a lot of > 'build noise'. What prevents you from running "make mrproper" before running "git status" ? This gives you the *additional* bebefit to see if any of your Makefiles misses to clean some files... > If you then like to check the properness of make mrproper > you issue 'make mrproper' and then what was not cleaned > by 'make mrproper' shows up with 'git ls-files-o'. -> git ls-files-o git: 'ls-files-o' is not a git-command ;-) TIMTOWTDI... I don't see any significant benefit. It's simply not worth the time. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de NOTE: The Most Fundamental Particles in This Product Are Held Together by a "Gluing" Force About Which Little is Currently Known and Whose Adhesive Power Can Therefore Not Be Permanently Guaranteed.