[Kde-scm-interest] Prevent non-fast-forward pushes

Frederik Schwarzer schwarzerf at gmail.com
Tue Sep 29 15:40:40 CEST 2009


[Leo Franchi | Monday 28 September 2009]
> On 27 Sep 2009, at 19:48, Frederik Schwarzer wrote:

Hi,

> > I remember a discussion on IRC about non-fast-forward pushes and
> > that they
> > should be prevented for "normal" committers. Is this problem solved
> > for the
> > Amarok repo? How did you achieve this?
> 
> You can specify in gitorious if you want to allow fast-forward pushes
> or not. We just disable them.

Thanks for your answer. I tanked to Johan and he pointed me to 
http://gitorious.org/gitorious/mainline/blobs/master/data/hooks/pre-receive
which helped me a lot in understanding how to approach the issue.

Regards


More information about the Kde-scm-interest mailing list