GitLineHandler (@NotNull GitRepository repository, @NotNull GitRemote remote, @NotNull List<String> params, @NotNull AuthenticationMode authenticationMode) { GitLineHandler h = new GitLineHandler(myProject, repository.getRoot(), GitCommand.LS_REMOTE); h.setIgnoreAuthenticationMode(authenticationMode); h.addParameters(params); h.setUrls(remote.getUrls()); return h; }