Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18180

Force LF endings in .adoc files

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.x
    • build system
    • None
    • Unknown

    Description

      Please consider adding the

      *.adoc text eol=lf

      in .gitattributes to force LF line endings in .adoc files to avoid issues with 

      String[] lines = text.split("\n"); 

      in UpdateReadmeMojo class when a git checkout was made on a Windows machine with GIT configuration set to autocrlf = true.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rgala Rafał Gała
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: