what is the gerrit 3.8.4 merge strategy? ort or recursive?

46 views
Skip to first unread message

Kai Lei

unread,
May 31, 2024, 3:51:18 AM5/31/24
to Repo and Gerrit Discussion
Hi,

Is there any way I can find out if my gerrit  3.8.4 uses ort or recursive merge strategy?
Can I define it in gerrit.config or jgit.config?

Thanks
BR
Leon

Matthias Sohn

unread,
Jun 4, 2024, 11:06:17 AM6/4/24
to Kai Lei, Repo and Gerrit Discussion
JGit hasn't implemented the ort merge strategy yet.
It currently supports the following merge strategies: ours, theirs, simple_two_way_in_core, resolve and recursive

By default JGit uses the recursive merge strategy.

Gerrit also uses the recursive merge by default, you can change that to resolve by setting core.useRecursiveMerge to false.

 
Thanks
BR
Leon

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAM-5CsBJUicfNrgPnz7g_opq%2BkUH5gP_TTGOtizPd%2By7JKa89w%40mail.gmail.com.

Kai Lei

unread,
Jun 4, 2024, 2:09:01 PM6/4/24
to Matthias Sohn, Repo and Gerrit Discussion
Thanks a lot for the information!

On Jun 4, 2024, at 08:06, Matthias Sohn <matthi...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages