Skip to content

Commit

Permalink
Fixes bndtools#5476 by not creating a new temporary branch. This is m…
Browse files Browse the repository at this point in the history
…ostly to cherry pick on 6.4.0 because it seems to work on 7.0.0

---
 Signed-off-by: Peter Kriens <[email protected]>

Signed-off-by: Peter Kriens <[email protected]>
  • Loading branch information
pkriens committed Jan 16, 2023
1 parent f73e53e commit da06a0d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ public ResourceMap generateOutputs(Map<String, List<Object>> parameters, IProgre
Git git = cloneCmd.call();

CheckoutCommand checkout = git.checkout()
.setCreateBranch(true)
.setName("_tmp");
.setAllPaths(true);

if (params.branch == null) {
checkout.setStartPoint(GitCloneTemplateParams.DEFAULT_BRANCH);
Expand Down

0 comments on commit da06a0d

Please sign in to comment.