commit | b085aa739d32a2215c7c6a728d630181d32fe002 | [log] [tgz] |
---|---|---|
author | Ed Merks <ed.merks@gmail.com> | Tue Nov 22 18:37:52 2022 +0100 |
committer | Ed Merks <ed.merks@gmail.com> | Tue Nov 22 18:37:52 2022 +0100 |
tree | 7ca383baf1db4cb8d52d8ede7ed1230f6afce6c1 | |
parent | 38cb1901c132e756afbf63fa18b8f53b05817e27 [diff] |
[580968] Set the branch for the CloneCommand https://bugs.eclipse.org/bugs/show_bug.cgi?id=580968
diff --git a/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java b/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java index dd601d9..d26602d 100644 --- a/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java +++ b/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java
@@ -1023,6 +1023,7 @@ command.setNoCheckout(true); command.setURI(remoteURI); command.setRemote(remoteName); + command.setBranch(checkoutBranch); command.setCloneAllBranches(!restrictToCheckoutBranch); command.setCloneSubmodules(recursive); if (restrictToCheckoutBranch)