Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-11832

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 4.0, 4.1, 4.2
    • Repository (Git)
    • None

      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)

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

                Created:
                Updated:
                Resolved: