Skip to content
Permalink
Browse files
pr: update all local branches for commit comments
Reviewed-by: rwestberg, ihse
  • Loading branch information
edvbld committed Mar 10, 2021
1 parent 591fb2c commit 589227fbb48c3895aa9fb8955be7c32793df44a1
Showing 1 changed file with 2 additions and 1 deletion.
@@ -72,7 +72,8 @@ public Collection<WorkItem> run(Path scratchPath) {
.filter(b -> !b.name().startsWith("pr/"))
.collect(Collectors.toList());
for (var branch : remoteBranches) {
localRepo.fetch(bot.repo().url(), branch.name());
localRepo.checkout(new Branch(branch.name()));
localRepo.merge(new Branch("origin/" + branch.name()), Repository.FastForward.ONLY);
}

var commitTitleToCommits = new HashMap<String, Set<Hash>>();

1 comment on commit 589227f

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 589227f Mar 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.