2012/10/8 Graeme Geldenhuys <[email protected]>: > My point is, a simple 'find ...' command will not clean out all > non-repository files. You need something a bit more intelligent like > 'git clean'.
git-clean is also only a workaround, its just using the information it knows about which files are version controlled and which are not (and I can only use it on my local machine, not inside a build script on sources that are uploaded to launchpad). Ideally the clean target of each makefile in each directory should exactly know which files (and which folders) could have been created and rm -rf them. I'm going to make a diff to see what exactly is left behind (which makefiles are broken) but not today (and also not tomorrow). Until then I think I use the recursive find method as a quick & dirty hack just to get the sheer file size down before uploading to launchpad (Currently I'm mostly worried about file size because I have slow ADSL, not so much about empty directories). -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
