Merging using only fast-forward

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Wednesday, January 16, 2008 - 11:54 am

Hi,


I have a work flow where A is only allowed to rebase and B is only allowed to
fast-forward.  They both fetch from each other and rebase/merge using pull.  On
A I can use the configuration branch.<name>.rebase but it does not seem to be an
option to enforce a fast-forward on B.

If there are changes on both A and B that have not yet been integrated (by A
doing a pull (fetch/rebase)) I want a pull (fetch/merge) on B to fail.

It would be useful with a configuration ala branch.<name>.fast-forward or an
option --ff-only to git-merge so I could use the configuration
branch.<name>.mergeoptions.

Is there any other way to achieve this?

Thanks for a great tool.  I am using git with accurev where B is the integrator
between git and accurev (commits flow in both directions).  I imagine this could
be useful in other environments as well.

-- 
Sverre Hvammen Johansen


-
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:
Merging using only fast-forward, Sverre Hvammen Johansen, (Wed Jan 16, 11:54 am)
Re: Merging using only fast-forward, Randal L. Schwartz, (Wed Jan 16, 12:27 pm)
Re: Merging using only fast-forward, Junio C Hamano, (Wed Jan 16, 4:31 pm)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Thu Jan 17, 2:53 am)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Fri Jan 18, 2:58 am)
Re: Merging using only fast-forward, Junio C Hamano, (Fri Jan 18, 5:25 pm)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Sat Jan 19, 6:28 am)
Re: Merging using only fast-forward, Junio C Hamano, (Sat Jan 19, 6:43 am)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Mon Jan 21, 2:26 am)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Sat Jan 19, 8:39 am)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Sat Jan 19, 6:38 am)
Re: Merging using only fast-forward, Sverre Hvammen Johansen, (Wed Jan 16, 6:38 pm)
Re: Merging using only fast-forward, Junio C Hamano, (Wed Jan 16, 6:49 pm)