On Wed, Feb 27, 2013 at 11:44 AM, Tom Hacohen <tom.haco...@samsung.com> wrote: > On 27/02/13 14:38, Rafael Antognolli wrote: >> What about requiring push -f? > > Do you know how to do that? I'd love having that.
If git >= 1.6 is running on the server, all you need to do is set the configuration: receive.denyNonFastForwards Otherwise you need an update/pre-receive hook checking if "git rev-list $newrev..$oldrev" is empty in order to accept the push. Lucas De Marchi ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel