mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Git: get merge base small correction
This commit is contained in:
@@ -301,6 +301,8 @@ public class GitBranch extends GitReference {
|
||||
public GitRevisionNumber getMergeBase(@NotNull Project project, @NotNull VirtualFile root, @NotNull GitBranch branch)
|
||||
throws VcsException {
|
||||
GitSimpleHandler h = new GitSimpleHandler(project, root, GitHandler.MERGE_BASE);
|
||||
h.setNoSSH(true);
|
||||
h.setSilent(true);
|
||||
h.addParameters(this.getFullName(), branch.getFullName());
|
||||
String output = h.run().trim();
|
||||
if (output.length() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user