We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f601c commit e9592c6Copy full SHA for e9592c6
src/main/java/org/commonwl/view/git/GitService.java
@@ -88,7 +88,8 @@ public Git getRepository(GitDetails gitDetails)
88
repo.checkout()
89
.setName(gitDetails.getBranch())
90
.call();
91
- if (repo.getRepository().getFullBranch() != null) {
+ String branch = repo.getRepository().getFullBranch();
92
+ if (branch != null && !branch.startsWith(gitDetails.getBranch())) {
93
repo.pull().call();
94
}
95
0 commit comments