Package org.eclipse.jgit.api

Examples of org.eclipse.jgit.api.RevertCommand.include()


        pm.subTask(MessageFormat.format(
            CoreText.RevertCommitOperation_reverting,
            Integer.valueOf(commits.size())));
        RevertCommand command = new Git(repo).revert();
        for (RevCommit commit : commits)
          command.include(commit);
        try {
          newHead = command.call();
          reverted = command.getRevertedRefs();
          result = command.getFailingResult();
        } catch (GitAPIException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.