Skip to content

Commit d17b9cb

Browse files
committed
getBranches() a bit optimized
1 parent 3b97f24 commit d17b9cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/scm4j/vcs/GitVCS.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ public Set<String> getBranches(String path) {
470470
Git git = getLocalGit(wc);
471471
Repository gitRepo = git.getRepository()) {
472472

473-
git
474-
.pull()
475-
.call();
473+
// git
474+
// .pull()
475+
// .call();
476476

477477
List<Ref> refs = git
478478
.branchList()

0 commit comments

Comments
 (0)