threads / discuss / 20215

Fast-forward-only merge

Subject: Fast-forward-only merge

## tl;dr

2 messages between Jul 24, 2009 and Jul 24, 2009.

replies: 1people: 2as markdown or json

Florian Weimer· Jul 24, 2009, 09:50 UTC · lore

Is there an easy way to require that "git merge" succeeds only if the merge is fast-forward?

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99
Michael J Gruber· Jul 24, 2009, 10:40 UTC · re: Florian Weimer · lore

Re: Fast-forward-only merge

Florian Weimer venit, vidit, dixit 24.07.2009 11:50:
> Is there an easy way to require that "git merge" succeeds only if the
> merge is fast-forward?
> 

There's an easy way to test before the merge (git merge-base), but an option for git merge is still missing:

http://article.gmane.org/gmane.comp.version-control.git/76787 http://article.gmane.org/gmane.comp.version-control.git/80284 http://article.gmane.org/gmane.comp.version-control.git/107768 http://article.gmane.org/gmane.comp.version-control.git/118529

Cheers, Michael

← back to recent threads