git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Merging using only fast-forward
@ 2008-01-16 15:54 Sverre Hvammen Johansen
  2008-01-16 16:27 ` Randal L. Schwartz
  0 siblings, 1 reply; 15+ messages in thread
From: Sverre Hvammen Johansen @ 2008-01-16 15:54 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-01-21  6:27 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-16 15:54 Merging using only fast-forward Sverre Hvammen Johansen
2008-01-16 16:27 ` Randal L. Schwartz
2008-01-16 20:31   ` Junio C Hamano
2008-01-16 22:38     ` Sverre Hvammen Johansen
2008-01-16 22:49       ` Junio C Hamano
2008-01-17  6:53     ` Sverre Hvammen Johansen
2008-01-18  6:58       ` Sverre Hvammen Johansen
2008-01-18 21:25         ` Junio C Hamano
2008-01-19 10:28           ` Sverre Hvammen Johansen
2008-01-19 10:38             ` Sverre Hvammen Johansen
2008-01-19 10:43             ` Junio C Hamano
     [not found]               ` <402c10cd0801190427o62493073s408959aa5701ca86@mail.gmail.com>
2008-01-19 12:30                 ` Sverre Hvammen Johansen
2008-01-19 12:58                   ` Please don't reply to this thread Sverre Hvammen Johansen
2008-01-19 12:39               ` Merging using only fast-forward Sverre Hvammen Johansen
2008-01-21  6:26               ` Sverre Hvammen Johansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).