Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14560

Sourcetree changes autocrlf to false (it was set to input)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 3.4.20
    • Git
    • None
    • Severity 2 - Major

      On my job we want to use autocrlf=input

      In git bash, if I type:
      git config --global core.autocrlf
      it prints:
      input

       

      If I open "Tools->Options" in SourceTree (version 3.4.20 on Windows 11) I can see that there is a checkbox under the Git page for "Configure automatic line endings handling by default (recommended)".
      It is unchecked. When I close the Options window (either X or OK), the global setting for autocrlf is changed to false.
      This is not intuitive. Is there any way to prevent this?

      I believe it should not be a checkbox, but instead a dropdown menu, as autocrlf has three different options.

      This behaviour messes up the settings for all of us, about 100 users. I would be really nice if it could be fixed.

      Thanks

      NOTE: I asked this as a question before I realized I could create a bug:
      https://community.atlassian.com/forums/Sourcetree-questions/Why-does-sourcetree-change-my-autocrlf-to-false/qaq-p/3037445

              73ddb60f0fdb Reetika Narula
              ef71bd5e957f Niels Ole Holck
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: