Loading src/main/java/fr/emse/gitlab/saref/Main.java +1 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ public class Main { try(Git git = Git.open(repository.getDirectory())) { String currentBranch = repository.getCurrentBranch(); if(currentBranch != null) { git.checkout().setStartPoint(currentBranch).call(); git.checkout().setName(currentBranch).call(); } } catch (IOException | GitAPIException ex) { LOG.warn("Error while reseting repository " + repository, ex); Loading Loading
src/main/java/fr/emse/gitlab/saref/Main.java +1 −1 Original line number Diff line number Diff line Loading @@ -309,7 +309,7 @@ public class Main { try(Git git = Git.open(repository.getDirectory())) { String currentBranch = repository.getCurrentBranch(); if(currentBranch != null) { git.checkout().setStartPoint(currentBranch).call(); git.checkout().setName(currentBranch).call(); } } catch (IOException | GitAPIException ex) { LOG.warn("Error while reseting repository " + repository, ex); Loading