Re: Removing options from build

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Tuesday, January 13, 2009 - 3:05 pm

"R. Tyler Ballance" <tyler@slide.com> writes:


First, the title (subject) of this email is misleading: it is about
your solution, and not about the problem you have (protecting against
"git push --force").

Second, there are two possible solutions: use receive.denyNonFastForwards
and perhaps also receive.denyDeletes (see git-config(1)) to forbid forced
pushes on server (target of push); removing '--force' is a client solution.
Or, better, use update or post-receive hook on server, forbidding 
non-fastforward updates to selected set of 'stable' branches; you can
use contrib/hooks/update-paranoid for that.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Removing options from build, R. Tyler Ballance, (Tue Jan 13, 2:43 pm)
Re: Removing options from build, Thomas Rast, (Tue Jan 13, 2:53 pm)
Re: Removing options from build, Björn, (Tue Jan 13, 2:55 pm)
Re: Removing options from build, Thomas Rast, (Tue Jan 13, 2:56 pm)
Re: Removing options from build, R. Tyler Ballance, (Tue Jan 13, 3:00 pm)
Re: Removing options from build, Jakub Narebski, (Tue Jan 13, 3:05 pm)
Re: Removing options from build, Boyd Stephen Smith Jr., (Tue Jan 13, 3:06 pm)
Re: Removing options from build, Björn, (Tue Jan 13, 3:07 pm)
Re: Removing options from build, Boyd Stephen Smith Jr., (Tue Jan 13, 3:10 pm)
Re: Removing options from build, R. Tyler Ballance, (Tue Jan 13, 3:18 pm)
Re: Removing options from build, Boyd Stephen Smith Jr., (Tue Jan 13, 3:34 pm)
Re: Removing options from build, Daniel Barkalow, (Tue Jan 13, 3:47 pm)