Skip to content

Commit

Permalink
Fix JGit breakage from version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Jan 26, 2025
1 parent fe8b46b commit a0cf1be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void checkoutRef(Path repoDirectory, String ref) {
log.debug("Checking out '{}' in '{}'", ref, repoDirectory);
try (Git git = open(repoDirectory.toFile())) {
git.checkout()
.setForce(true)
.setForceRefUpdate(true)
.setName(ref)
.call();
}
Expand Down

0 comments on commit a0cf1be

Please sign in to comment.