Package git4idea.history.browser

Examples of git4idea.history.browser.GitCommit


                    GitRepository gitRepository = gitRepositoryOptional.get();

                    final VirtualFile virtualFile = gitRepository.getGitDir();

                    final String notLoaded = "Not loaded";
                    GitCommit gitCommit = new GitCommit(virtualFile, AbstractHash.create(revisionId), new SHAHash(revisionId), notLoaded, notLoaded, new Date(0), notLoaded,
                            notLoaded, Collections.<String>emptySet(), Collections.<FilePath>emptyList(), notLoaded,
                            notLoaded, Collections.<String>emptyList(), Collections.<String>emptyList(), Collections.<String>emptyList(),
                            Collections.<Change>emptyList(), 0);

                    cherryPick(gitRepository, gitCommit, git, platformFacade, project);
View Full Code Here


                    }
                    final List<Change> totalDiff;
                    CommitDiffBuilder.ChangesProvider changesProvider = new ChangesWithCommitMessageProvider(
                            gerritGitUtil, project, selectedChange);
                    if (gitCommits.size() == 1) {
                        final GitCommit gitCommit = Iterables.getLast(gitCommits);
                        totalDiff = changesProvider.provide(gitCommit);
                    } else {
                        GitCommit base = gitCommits.get(0);
                        GitCommit current = gitCommits.get(1);
                        totalDiff = new CommitDiffBuilder(base, current)
                                .withChangesProvider(changesProvider).getDiff();
                    }

                    ApplicationManager.getApplication().invokeLater(new Runnable() {
View Full Code Here

TOP

Related Classes of git4idea.history.browser.GitCommit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.