Git repository init doesn't respect global core.autocrlf setting

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 4.0, 4.1, 4.2
    • Component/s: Repository (Git)
    • None
    • Severity 3 - Minor

      Operation "git init" is implemented using jgit and it explicitely writes .git/config like this:

      [core]
      	repositoryformatversion = 0
      	filemode = false
      	logallrefupdates = true
      	autocrlf = false
      

      It causes clients on Windows checkout files with Unix line endings which might be disruptive (see https://support.atlassian.com/browse/BSP-7156)

            Assignee:
            Unassigned
            Reporter:
            Krystian Brazulewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: