Package org.eclipse.jgit.lib.CoreConfig

Examples of org.eclipse.jgit.lib.CoreConfig.AutoCRLF


      FileNotFoundException {
    RawText rawText;

    WorkingTreeOptions workingTreeOptions = getRepository().getConfig()
        .get(WorkingTreeOptions.KEY);
    AutoCRLF autoCRLF = workingTreeOptions.getAutoCRLF();
    switch (autoCRLF) {
    case FALSE:
    case INPUT:
      // Git used the repo format on checkout, but other tools
      // may change the format to CRLF. We ignore that here.
View Full Code Here


      } else {
        int length;
        byte[] content;
        WorkingTreeOptions workingTreeOptions = repository.getConfig()
            .get(WorkingTreeOptions.KEY);
        AutoCRLF autoCRLF = workingTreeOptions.getAutoCRLF();
        switch (autoCRLF) {
        case FALSE:
          content = newContent;
          length = newContent.length;
          break;
View Full Code Here

TOP

Related Classes of org.eclipse.jgit.lib.CoreConfig.AutoCRLF

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.