Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
42,400
void () { boolean fatalErrorHappened = false; notifyBranchWillChange(); while (hasMoreRepositories() && !fatalErrorHappened) { final GitRepository repository = next(); GitSimpleEventDetector unmergedDetector = new GitSimpleEventDetector(GitSimpleEventDetector.Event.UNMERGED_PREVENTING_CHECKOUT); GitCommandResult result...
execute
42,401
void (@NotNull GitRepository repository) { repository.update(); }
refresh
42,402
String () { return GitBundle.message("checkout.new.branch.operation.branch.was.created", bold(code(myNewBranchName))); }
getSuccessMessage
42,403
String () { return new HtmlBuilder().append(GitBundle.message("checkout.new.branch.operation.however.checkout.has.succeeded.for.the.following", getSuccessfulRepositories().size())) .br() .appendRaw(successfulRepositoriesJoined()) .br() .append(GitBundle.message("checkout.new.branch.operation.you.may.rollback.not.to.let...
getRollbackProposal
42,404
void () { GitCompoundResult checkoutResult = new GitCompoundResult(myProject); GitCompoundResult deleteResult = new GitCompoundResult(myProject); Collection<GitRepository> repositories = getSuccessfulRepositories(); for (GitRepository repository : repositories) { GitCommandResult result = myGit.checkout(repository, myC...
rollback
42,405
void () { runWithSpan(TelemetryManager.getInstance().getTracer(VcsScope), Operation.Checkout.getName(), (span) -> { StructuredIdeActivity checkoutActivity = CHECKOUT_ACTIVITY.started(myProject, () -> List.of( IS_BRANCH_PROTECTED.with(isBranchProtected()), IS_NEW_BRANCH.with(myNewBranch != null) )); Ref<Boolean> finishe...
execute
42,406
boolean () { GitSharedSettings sharedSettings = GitSharedSettings.getInstance(myProject); return sharedSettings.isBranchProtected(myStartPointReference) || GitProtectedBranchesKt.isRemoteBranchProtected(getRepositories(), myStartPointReference); }
isBranchProtected
42,407
boolean (StructuredIdeActivity activity) { saveAllDocuments(); boolean success = false; boolean fatalErrorHappened = false; notifyBranchWillChange(); try (AccessToken ignore = DvcsUtil.workingTreeChangeStarted(myProject, getOperationName())) { while (hasMoreRepositories() && !fatalErrorHappened) { final GitRepository r...
doExecute
42,408
boolean (@NotNull GitRepository repository, @NotNull GitMessageWithFilesDetector localChangesOverwrittenByCheckout, @NotNull StructuredIdeActivity activity) { Pair<List<GitRepository>, List<Change>> conflictingRepositoriesAndAffectedChanges = getConflictingRepositoriesAndAffectedChanges(repository, localChangesOverwrit...
smartCheckoutOrNotify
42,409
String () { Collection<GitRepository> repositories = getSuccessfulRepositories(); String previousBranch = getIfSingle(repositories.stream().map(myCurrentHeads::get).distinct()); if (previousBranch == null) previousBranch = GitBundle.message("checkout.operation.previous.branch"); String rollBackProposal = GitBundle.mess...
getRollbackProposal
42,410
void () { GitCompoundResult checkoutResult = new GitCompoundResult(myProject); GitCompoundResult deleteResult = new GitCompoundResult(myProject); for (GitRepository repository : getSuccessfulRepositories()) { Hash startHash = getHead(repository); GitCommandResult result = myGit.checkout(repository, myCurrentHeads.get(r...
rollback
42,411
String () { if (myNewBranch == null) { return GitBundle.message("checkout.operation.checked.out", bold(code(myStartPointReference))); } return GitBundle.message("checkout.operation.checked.out.new.branch.from", bold(code(myNewBranch)), bold(code(getRefPresentation(myStartPointReference)))); }
getSuccessMessage
42,412
String (@NotNull String reference) { return StringUtil.substringBeforeLast(reference, "^0"); }
getRefPresentation
42,413
boolean (final @NotNull List<? extends GitRepository> repositories, final @NotNull @NlsSafe String reference, final @Nullable String newBranch, @NotNull ProgressIndicator indicator, @NotNull StructuredIdeActivity activity) { AtomicBoolean result = new AtomicBoolean(); GitSaveChangesPolicy saveMethod = GitVcsSettings.ge...
smartCheckout
42,414
boolean (@NotNull List<? extends GitRepository> repositories, @NotNull String reference, @Nullable String newBranch, boolean force, @NotNull StructuredIdeActivity activity) { GitCompoundResult compoundResult = new GitCompoundResult(myProject); StructuredIdeActivity checkoutOperation = CHECKOUT_OPERATION.startedWithPare...
checkoutOrNotify
42,415
void (@NotNull Notification notification, @NotNull HyperlinkEvent event) { if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED && event.getDescription().equalsIgnoreCase(ROLLBACK_HREF_ATTRIBUTE)) { rollback(); } }
hyperlinkUpdate
42,416
Choice (int exitCode) { if (exitCode == OK_EXIT_CODE) return SMART; if (exitCode == FORCE_EXIT_CODE) return FORCE; if (exitCode == CANCEL_EXIT_CODE) return CANCEL; LOG.error("Unexpected exit code: " + exitCode); return CANCEL; }
fromDialogExitCode
42,417
JComponent () { String labelText = mySaveMethod.selectBundleMessage( GitBundle.message( "smart.operation.dialog.north.panel.label.stash.text", myOperationTitle, ApplicationNamesInfo.getInstance().getFullProductName() ), GitBundle.message( "smart.operation.dialog.north.panel.label.shelf.text", myOperationTitle, Applicat...
createNorthPanel
42,418
JComponent () { return myFileBrowser; }
createCenterPanel
42,419
String () { return GitSmartOperationDialog.class.getName(); }
getDimensionServiceKey
42,420
void (ActionEvent e) { close(FORCE_EXIT_CODE); }
actionPerformed
42,421
ActionUpdateThread () { return ActionUpdateThread.EDT; }
getActionUpdateThread
42,422
boolean (@NotNull AnActionEvent e) { Project project = e.getData(CommonDataKeys.PROJECT); MainVcsLogUi ui = e.getData(VcsLogInternalDataKeys.MAIN_UI); VcsLogData dataProvider = e.getData(VcsLogInternalDataKeys.LOG_DATA); if (project == null || dataProvider == null || ui == null) { return false; } return DeepComparator....
isSelected
42,423
void (@NotNull AnActionEvent e, boolean selected) { Project project = e.getData(CommonDataKeys.PROJECT); MainVcsLogUi ui = e.getData(VcsLogInternalDataKeys.MAIN_UI); VcsLogData dataProvider = e.getData(VcsLogInternalDataKeys.LOG_DATA); if (project == null || dataProvider == null || ui == null) { return; } final DeepCom...
setSelected
42,424
void (@NotNull VcsLogUiEx ui, @NotNull AnActionEvent event, @NotNull Consumer<? super String> consumer, @NotNull Collection<? extends VirtualFile> visibleRoots) { VcsLogDataPack dataPack = ui.getDataPack(); ActionGroup actionGroup = new BranchPopupBuilder(dataPack, visibleRoots, null) { @Override protected @NotNull AnA...
selectBranchAndPerformAction
42,425
AnAction (@NotNull @NlsActions.ActionText String name, @NotNull Collection<? extends VcsRef> refs) { return new DumbAwareAction(name) { @Override public void actionPerformed(@NotNull AnActionEvent e) { consumer.consume(name); } }; }
createAction
42,426
void (@NotNull AnActionEvent e) { consumer.consume(name); }
actionPerformed
42,427
void (@NotNull AnActionEvent e) { super.update(e); Project project = e.getData(CommonDataKeys.PROJECT); VcsLogUi ui = e.getData(VcsLogDataKeys.VCS_LOG_UI); if (project == null || ui == null) { e.getPresentation().setEnabledAndVisible(false); } else { Set<VirtualFile> visibleRoots = VcsLogUtil.getVisibleRoots(ui); Set<V...
update
42,428
Collection<VirtualFile> (@NotNull Project project, @NotNull VcsLogUi ui) { return ContainerUtil.filter(VcsLogUtil.getVisibleRoots(ui), root -> isGitRoot(project, root)); }
getGitRoots
42,429
boolean (@NotNull Project project, @NotNull Set<? extends VirtualFile> roots) { return ContainerUtil.exists(roots, root -> isGitRoot(project, root)); }
hasGitRoots
42,430
boolean (@NotNull Project project, @NotNull VirtualFile root) { return GitRepositoryManager.getInstance(project).getRepositoryForRootQuick(root) != null; }
isGitRoot
42,431
void () { Collection<GitRepository> repositories = getRepositories(); Collection<String> allTrackingBranches = new ArrayList<>(); MultiMap<String, String> branchToCommonTrackingBranches = new MultiMap<>(); Ref<DeleteRemoteBranchDecision> decisionRef = Ref.create(); for (String branchName : myBranchNames) { Collection<S...
execute
42,432
void () { // do nothing - will display a combo notification for all deleted branches below successfullyDeletedLocalBranches.add(branch); }
notifySuccess
42,433
void () { throw new UnsupportedOperationException(); }
rollback
42,434
String () { throw new UnsupportedOperationException(); }
getSuccessMessage
42,435
String () { throw new UnsupportedOperationException(); }
getRollbackProposal
42,436
String () { throw new UnsupportedOperationException(); }
getOperationName
42,437
Collection<String> (@NotNull String remoteBranch, @NotNull Collection<? extends GitRepository> repositories) { return new GitMultiRootBranchConfig(repositories).getCommonTrackingBranches(remoteBranch); }
getCommonTrackingBranches
42,438
boolean (@NotNull String branchName, @NotNull Collection<? extends GitRepository> repositories) { Couple<String> pair = splitNameOfRemoteBranch(branchName); String remoteName = pair.getFirst(); String branch = pair.getSecond(); GitCompoundResult result = new GitCompoundResult(myProject); for (GitRepository repository :...
doDeleteRemote
42,439
boolean (@NotNull String errorOutput) { return errorOutput.contains("remote ref does not exist"); //NON-NLS }
isAlreadyDeletedError
42,440
Couple<String> (String branchName) { int firstSlash = branchName.indexOf('/'); String remoteName = firstSlash > -1 ? branchName.substring(0, firstSlash) : branchName; String remoteBranchName = branchName.substring(firstSlash + 1); return Couple.of(remoteName, remoteBranchName); }
splitNameOfRemoteBranch
42,441
GitCommandResult (@NotNull GitRepository repository, @NotNull GitRemote remote, @NotNull String branchName) { return myGit.push(repository, new GitPushParamsImpl(remote, ":" + branchName, false, false, false, null, Collections.emptyList())); }
pushDeletion
42,442
void (@NotNull String remoteBranchName, @NotNull Collection<String> localBranches) { String message = ""; if (!localBranches.isEmpty()) { message = GitBundle.message("delete.remote.branch.operation.also.deleted.local.branches", localBranches.size(), StringUtil.join(localBranches, ", ")); } VcsNotifier.getInstance(myPro...
notifySuccessfulDeletion
42,443
boolean (@NotNull Project project, @NotNull Map<GitRepository, List<GitCommit>> commits, @NotNull Map<GitRepository, String> baseBranches, @NotNull String removedBranch) { GitBranchIsNotFullyMergedDialog dialog = new GitBranchIsNotFullyMergedDialog(project, commits, baseBranches, removedBranch); DialogManager.show(dial...
showAndGetAnswer
42,444
GitRepository () { for (GitRepository repository : myRepositories) { if (!myCommits.get(repository).isEmpty()) { return repository; } } throw new AssertionError("The dialog shouldn't be shown. Unmerged commits: " + myCommits); }
calcInitiallySelectedRepository
42,445
JComponent () { JBLabel descriptionLabel = new JBLabel(makeDescription(myInitialRepository)); JComboBox<GitRepository> repositorySelector = new JComboBox<>(myRepositories.toArray(new GitRepository[0])); repositorySelector.setRenderer(new RepositoryComboboxListCellRenderer()); repositorySelector.setSelectedItem(myInitia...
createNorthPanel
42,446
void (ActionEvent e) { GitRepository selectedRepo = (GitRepository)repositorySelector.getSelectedItem(); descriptionLabel.setText(makeDescription(selectedRepo)); myCommitListWithDiffPanel.setCommits(myCommits.get(selectedRepo)); }
actionPerformed
42,447
JComponent () { JPanel rootPanel = new JPanel(new BorderLayout()); rootPanel.add(myCommitListWithDiffPanel); return rootPanel; }
createCenterPanel
42,448
JComponent () { return myCommitListWithDiffPanel.getPreferredFocusComponent(); }
getPreferredFocusedComponent
42,449
String () { return GitBranchIsNotFullyMergedDialog.class.getName(); }
getDimensionServiceKey
42,450
void () { LOG.info("starting"); saveAllDocuments(); boolean fatalErrorHappened = false; int alreadyUpToDateRepositories = 0; try (AccessToken ignore = DvcsUtil.workingTreeChangeStarted(myProject, getOperationName())) { while (hasMoreRepositories() && !fatalErrorHappened) { final GitRepository repository = next(); LOG.i...
execute
42,451
void () { if (!myConflictedRepositories.isEmpty()) { new MyMergeConflictResolver().notifyUnresolvedRemain(); } }
notifyAboutRemainingConflicts
42,452
void (@NotNull @Nls String message) { switch (myDeleteOnMerge) { case DELETE -> { super.notifySuccess(message); new GitBranchWorker(myProject, myGit, myUiHandler).deleteBranch(myBranchToMerge, new ArrayList<>(getRepositories())); } case PROPOSE -> { String deleteBranch = GitBundle.message("merge.operation.delete.branch...
notifySuccess
42,453
boolean () { if (!myConflictedRepositories.isEmpty()) { return new MyMergeConflictResolver().merge(); } return true; }
resolveConflicts
42,454
boolean (@NotNull GitRepository repository, @NotNull GitMessageWithFilesDetector localChangesOverwrittenByMerge) { Pair<List<GitRepository>, List<Change>> conflictingRepositoriesAndAffectedChanges = getConflictingRepositoriesAndAffectedChanges(repository, localChangesOverwrittenByMerge, myCurrentHeads.get(repository), ...
proposeSmartMergePerformAndNotify
42,455
void () { if (myPreservingProcess != null) { myPreservingProcess.load(); } }
restoreLocalChanges
42,456
boolean (final @NotNull Collection<? extends GitRepository> repositories) { final AtomicBoolean success = new AtomicBoolean(); GitSaveChangesPolicy saveMethod = GitVcsSettings.getInstance(myProject).getSaveChangesPolicy(); myPreservingProcess = new GitPreservingProcess(myProject, myGit, GitUtil.getRootsFromRepositories...
doSmartMerge
42,457
boolean (@NotNull Collection<? extends GitRepository> repositories) { for (GitRepository repository : repositories) { Hash startHash = getHead(repository); GitSimpleEventDetector mergeConflict = new GitSimpleEventDetector(GitSimpleEventDetector.Event.MERGE_CONFLICT); GitCommandResult result = myGit.merge(repository, my...
doMerge
42,458
void () { LOG.info("starting rollback..."); Collection<GitRepository> repositoriesForSmartRollback = new ArrayList<>(); Collection<GitRepository> repositoriesForSimpleRollback = new ArrayList<>(); Collection<GitRepository> repositoriesForMergeRollback = new ArrayList<>(); for (GitRepository repository : getSuccessfulRe...
rollback
42,459
GitCompoundResult (@NotNull Collection<? extends GitRepository> repositories) { LOG.info("Starting smart rollback..."); final GitCompoundResult result = new GitCompoundResult(myProject); Collection<VirtualFile> roots = GitUtil.getRootsFromRepositories(repositories); GitSaveChangesPolicy saveMethod = GitVcsSettings.getI...
smartRollback
42,460
GitCommandResult (@NotNull GitRepository repository) { return myGit.reset(repository, GitResetMode.HARD, getInitialRevision(repository)); }
rollback
42,461
GitCommandResult (@NotNull GitRepository repository) { Hash startHash = getHead(repository); GitCommandResult result = myGit.resetMerge(repository, null); updateAndRefreshChangedVfs(repository, startHash); return result; }
rollbackMerge
42,462
boolean (@NotNull GitRepository repository) { return !myChangeListManager.getChangesIn(repository.getRoot()).isEmpty(); }
thereAreLocalChangesIn
42,463
String () { return GitBundle .message("merge.operation.merged.to", bold(code(myBranchToMerge)), bold(code(stringifyBranchesByRepos(myCurrentHeads)))); }
getSuccessMessage
42,464
String () { return new HtmlBuilder() .append( GitBundle.message("merge.operation.however.merge.has.succeeded.for.the.following.repositories", getSuccessfulRepositories().size())) .br() .appendRaw(successfulRepositoriesJoined()) .br() .append(GitBundle.message("merge.operation.you.may.rollback.not.to.let.branches.diverg...
getRollbackProposal
42,465
void () { notifyWarning(GitBundle.message("merge.operation.branch.merged.with.conflicts", myBranchToMerge), ""); }
notifyUnresolvedRemain
42,466
void (@NotNull Notification notification, @NotNull HyperlinkEvent event) { if (event.getDescription().equalsIgnoreCase(DELETE_HREF_ATTRIBUTE)) { notification.expire(); GitBrancher.getInstance(myProject).deleteBranch(myBranchToMerge, new ArrayList<>(getRepositories())); } }
hyperlinkActivated
42,467
void () { stopScheduling(); }
dispose
42,468
boolean () { String ssh_auth_sock = EnvironmentUtil.getValue("SSH_AUTH_SOCK"); if (ssh_auth_sock == null) return false; if (StringUtil.contains(ssh_auth_sock, MAC_DEFAULT_LAUNCH)) { try { Path agentPath = Path.of(ssh_auth_sock); String originPath = agentPath.toString(); String realPath = agentPath.toRealPath().toString...
hasExternalSSHAgent
42,469
boolean (@Nullable GitRepository repository, @NotNull String localBranchName) { return shouldCheckIncoming() && getBranchesWithIncoming(repository).contains(new GitLocalBranch(localBranchName)); }
hasIncomingFor
42,470
boolean (@Nullable GitRepository repository, @NotNull String localBranchName) { return shouldCheckIncomingOutgoing() && getBranchesWithOutgoing(repository).contains(new GitLocalBranch(localBranchName)); }
hasOutgoingFor
42,471
boolean () { return AdvancedSettings.getBoolean("git.update.incoming.outgoing.info") && GitVcsSettings.getInstance(myProject).getIncomingCheckStrategy() != Never; }
shouldCheckIncoming
42,472
boolean () { return AdvancedSettings.getBoolean("git.update.incoming.outgoing.info"); }
shouldCheckIncomingOutgoing
42,473
GitBranchIncomingOutgoingManager (@NotNull Project project) { return project.getService(GitBranchIncomingOutgoingManager.class); }
getInstance
42,474
boolean () { return GitVersionSpecialty.INCOMING_OUTGOING_BRANCH_INFO.existsIn(myProject); }
supportsIncomingOutgoing
42,475
void () { ApplicationManager.getApplication().invokeLater(() -> { if (myProject.isDisposed()) return; if (myConnection == null) { myConnection = myProject.getMessageBus().connect(this); myConnection.subscribe(GitRepository.GIT_REPO_CHANGE, this); myConnection.subscribe(GitAuthenticationListener.GIT_AUTHENTICATION_SUCCE...
activate
42,476
void () { if (myPeriodicalUpdater == null && shouldCheckIncoming()) { updateBranchesWithIncoming(true); int timeout = Registry.intValue("git.update.incoming.info.time"); myPeriodicalUpdater = JobScheduler.getScheduler().scheduleWithFixedDelay(() -> updateBranchesWithIncoming(true), timeout, timeout, TimeUnit.MINUTES); ...
updateIncomingScheduling
42,477
void () { if (myPeriodicalUpdater != null) { myPeriodicalUpdater.cancel(true); myPeriodicalUpdater = null; } }
stopScheduling
42,478
void (@Nullable Runnable runAfterUpdate) { if (!myIsUpdating.compareAndSet(false, true)) return; updateBranchesWithIncoming(false); updateBranchesWithOutgoing(); new Task.Backgroundable(myProject, GitBundle.message("branches.update.info.process")) { @Override public void run(@NotNull ProgressIndicator indicator) { Sema...
forceUpdateBranches
42,479
void (@NotNull ProgressIndicator indicator) { Semaphore semaphore = new Semaphore(0); //to avoid eating events and make semaphore being released we use 'this' here instead of "update" myQueue.queue(Update.create(this, () -> semaphore.release())); myQueue.flush(); try { while (true) { if (indicator.isCanceled()) break; ...
run
42,480
void () { myIsUpdating.set(false); if (runAfterUpdate != null) { runAfterUpdate.run(); } }
onFinished
42,481
boolean () { return myIsUpdating.get(); }
isUpdating
42,482
void () { myQueue.queue(DisposableUpdate.createDisposable(this, "update", () -> { List<GitRepository> withIncoming; List<GitRepository> withOutgoing; boolean shouldRequestRemoteInfo; synchronized (LOCK) { withIncoming = new ArrayList<>(myDirtyReposWithIncoming); withOutgoing = new ArrayList<>(myDirtyReposWithOutgoing);...
scheduleUpdate
42,483
Collection<GitLocalBranch> (@Nullable GitRepository repository) { return getBranches(repository, myLocalBranchesWithIncoming); }
getBranchesWithIncoming
42,484
Collection<GitLocalBranch> (@Nullable GitRepository repository) { return getBranches(repository, myLocalBranchesWithOutgoing); }
getBranchesWithOutgoing
42,485
void (boolean fromRemote) { if (!shouldCheckIncoming()) return; synchronized (LOCK) { myShouldRequestRemoteInfo = fromRemote; myDirtyReposWithIncoming.addAll(GitRepositoryManager.getInstance(myProject).getRepositories()); } scheduleUpdate(); }
updateBranchesWithIncoming
42,486
void () { if(!shouldCheckIncomingOutgoing()) return; synchronized (LOCK) { myDirtyReposWithOutgoing.addAll(GitRepositoryManager.getInstance(myProject).getRepositories()); } scheduleUpdate(); }
updateBranchesWithOutgoing
42,487
Set<GitLocalBranch> (@NotNull GitRepository repository) { Set<GitLocalBranch> result = new HashSet<>(); GitBranchesCollection branchesCollection = repository.getBranches(); Map<GitLocalBranch, Hash> cachedBranchesToFetch = myLocalBranchesToFetch.get(repository); branchesCollection.getLocalBranches().forEach(localBranch...
calcBranchesWithIncoming
42,488
AuthenticationMode (@NotNull GitRepository repository, @NotNull GitRemote remote) { return (myAuthSuccessMap.get(repository).contains(remote)) ? SILENT : NONE; }
getAuthenticationMode
42,489
boolean (@NotNull GitRemote remote) { return GitVcsSettings.getInstance(myProject).getIncomingCheckStrategy() == Auto && containsSSHUrl(remote) && HAS_EXTERNAL_SSH_AGENT.get(); }
shouldAvoidUserInteraction
42,490
boolean (@NotNull GitRemote remote) { return ContainerUtil.exists(remote.getUrls(), url -> !url.startsWith(URLUtil.HTTP_PROTOCOL)); }
containsSSHUrl
42,491
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(p...
createLsRemoteHandler
42,492
Set<GitLocalBranch> (@NotNull GitRepository gitRepository) { Set<GitLocalBranch> branchesWithOutgoing = new HashSet<>(); GitBranchesCollection branchesCollection = gitRepository.getBranches(); for (GitLocalBranch branch : branchesCollection.getLocalBranches()) { GitPushTarget pushTarget = GitPushSupport.getPushTargetIf...
calculateBranchesWithOutgoing
42,493
boolean (@NotNull GitRepository repository, @NotNull GitLocalBranch localBranch, @Nullable Hash localBranchHash, @Nullable Hash localHashForRemoteBranch, boolean incoming) { if (!supportsIncomingOutgoing()) return false; if (localHashForRemoteBranch == null || Objects.equals(localBranchHash, localHashForRemoteBranch)) ...
hasCommitsForBranch
42,494
Collection<GitLocalBranch> (@Nullable GitRepository repository, @NotNull Map<GitRepository, Set<GitLocalBranch>> branchCollection) { if (repository != null) { return Objects.requireNonNullElse(branchCollection.get(repository), Collections.emptySet()); } return StreamEx.of(branchCollection.values()).flatMap(Set::stream)...
getBranches
42,495
void (@NotNull GitRepository repository) { if (!shouldCheckIncomingOutgoing()) return; synchronized (LOCK) { myDirtyReposWithOutgoing.add(repository); myDirtyReposWithIncoming.add(repository); } scheduleUpdate(); }
repositoryChanged
42,496
void (@NotNull GitRepository repository, @NotNull GitRemote remote) { if (!shouldCheckIncoming()) return; myAuthSuccessMap.putValue(repository, remote); }
authenticationSucceeded
42,497
void (@NotNull String name, @NotNull List<? extends GitRepository> repositories) { new CommonBackgroundTask(myProject, GitBundle.message("branch.checking.out.new.branch.process", name), null) { @Override public void execute(@NotNull ProgressIndicator indicator) { newWorker(indicator).checkoutNewBranch(name, repositorie...
checkoutNewBranch
42,498
void (@NotNull ProgressIndicator indicator) { newWorker(indicator).checkoutNewBranch(name, repositories); }
execute
42,499
void (@NotNull String name, @NotNull Map<GitRepository, String> startPoints) { createBranch(name, startPoints, null); }
createBranch