[Nagiosplug-devel] [nagiosplug] tools/distclean: use git-clean when possible
Andreas Ericsson
ae at op5.se
Wed Apr 28 12:12:13 CEST 2010
On 04/28/2010 12:04 PM, Thomas Guyot-Sionnest wrote:
>
> tools/distclean: use git-clean when possible
>
> git-clean is much faster and more reliable...
>
This is a bad idea. It will kill all random-files one has
in the repository in addition to all the build-produce.
I lost 4 weeks worth of debugging data when I tried this
clever trick once.
Since you know where all the buildstuff ends up anyway,
it's a lot better to keep track of it in lists and whatnot.
Besides, a lot of the reasons for "distclean" goes away if
you use "git archive" to produce tar-balls.
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
More information about the Devel
mailing list