Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: Anyone have a commit hook for forbidding old branches from being merged in?

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:52:33

On Fri, Dec 2, 2011 at 02:37, Neal Kreitzinger [off-list ref] wrote:
It sounds like you're saying that people should rebase before merging to
main.  That means their merge would be a fast-forward.  You could just
reject anyone who has not done a current rebase.  Then you could use this
technique from the pre-rebase.sample hook to enforce up-to-date rebases:
That would be an overly invasive change to people's workflows. It's
fine if you merge something in as long as the initial merge base isn't
N days older than the current state of the mainline.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help