From: Björn Steinbrink Date: Tue, 13 Jan 2009 21:55:50 GMT Subject: Re: Removing options from build Message-ID: <20090113215550.GE30404@atjola.homenet> In-Reply-To: <1231883002.14181.27.camel@starfruit> On 2009.01.13 13:43:22 -0800, R. Tyler Ballance wrote: > One of our developers "discovered" the --force option on `git push` and > used it without taking the appropriate care and hosed one of the project > branches we have running around in our central repository. > > Besides a vigorous flogging, we're looking at other ways to prevent this > sort of thing from happening again; the option we've settled on is to > remove the "--force" flag from our internal build of v1.6.1 > > I'm wondering if somebody could point me in the right direction to > remove "--force" (safely) from the builtin-push.c and removing the > "rebase" command (we've got no use for it, and would prefer it gone). git help config receive.denyNonFastForwards (to refuse non-fast-forwards, even with -f) receive.denyDeletes (to stop users from working around the non-ff using a delete + recreate operation) Björn