Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » JGit Merge Test(Can JGit do a "dry run" merge?)
JGit Merge Test [message #1863289] Tue, 23 January 2024 18:02 Go to next message
Christine Hawkins is currently offline Christine HawkinsFriend
Messages: 1
Registered: January 2024
Junior Member
Using JGit to upgrade an application. Would like to know, before doing a merge, if there will be conflicts. I see from a stackoverflow post (I'm new, so not allowed to post the link - topic was "how to test a merge without actually merging) that Git has a merge-tree command. Can I do this in JGit? Thanks.
Re: JGit Merge Test [message #1863340 is a reply to message #1863289] Sat, 27 January 2024 17:02 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1269
Registered: July 2009
Senior Member
You can configure MergeCommand if it should automatically create a commit on a successful merge using its #setCommit method.
The MergeResult returned by the #call method provides details about the result of the execution of the MergeCommand.
Previous Topic:Security issue: CVE-2023-4759 on Java 8
Next Topic:how to show all branch in git prespective history view tab
Goto Forum:
  


Current Time: Wed May 08 21:33:04 GMT 2024

Powered by FUDForum. Page generated in 0.03590 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top