Package org.eclipse.jgit.lib.IndexDiff

Examples of org.eclipse.jgit.lib.IndexDiff.StageState


  private void printUnmerged(Map<String, StageState> unmergedStates)
      throws IOException {
    List<String> paths = new ArrayList<String>(unmergedStates.keySet());
    Collections.sort(paths);
    for (String path : paths) {
      StageState state = unmergedStates.get(path);
      String stateDescription = getStageStateDescription(state);
      outw.println(CLIText.formatLine(String.format(
          statusFileListFormatUnmerged, stateDescription, path)));
      outw.flush();
    }
View Full Code Here


        y = 'M';
      else if (missing.contains(path))
        y = 'D';

      if (conflicting.containsKey(path)) {
        StageState stageState = conflicting.get(path);

        switch (stageState) {
        case BOTH_DELETED:
          x = 'D';
          y = 'D';
View Full Code Here

  private void printUnmerged(Map<String, StageState> unmergedStates)
      throws IOException {
    List<String> paths = new ArrayList<String>(unmergedStates.keySet());
    Collections.sort(paths);
    for (String path : paths) {
      StageState state = unmergedStates.get(path);
      String stateDescription = getStageStateDescription(state);
      outw.println(CLIText.formatLine(String.format(
          statusFileListFormatUnmerged, stateDescription, path)));
      outw.flush();
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.lib.IndexDiff.StageState

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.