Re: Has anyone written a hook to block fast forward merges to a branch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 21, 2012 at 03:32:10PM -0500, Neal Kreitzinger wrote:

> On 3/21/2012 1:22 PM, Chris Patti wrote:
> >I know there are hooks out there to block various other kinds of
> >change, but I was wondering if anyone had specifically ever written
> >one to block fast forward merges.
> >
> Maybe git-merge --no-ff would also be helpful to "do what you want".

When I wrote my response, I assumed the intent was that people _should_
be using --no-ff, but that he wanted to enforce it via hook during a
push to a central repository.

Reading it again, I'm not sure whether that is the case or not. If not,
the disregard my original response. :)

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]