Package org.eclipse.jgit.api.errors

Examples of org.eclipse.jgit.api.errors.InvalidRebaseStepException


      return;
    if (RebaseTodoLine.Action.SQUASH.equals(steps.get(0).getAction())
        || RebaseTodoLine.Action.FIXUP.equals(steps.get(0).getAction())) {
      if (!rebaseState.getFile(DONE).exists()
          || rebaseState.readFile(DONE).trim().length() == 0) {
        throw new InvalidRebaseStepException(MessageFormat.format(
            JGitText.get().cannotSquashFixupWithoutPreviousCommit,
            steps.get(0).getAction().name()));
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.api.errors.InvalidRebaseStepException

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.