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

Sourcetree Update cleared core.autocrlf in .gitconfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.4.24
    • Git
    • None
    • Severity 2 - Major

      Hello,

      I recently updated to Sourcetree v3.4.25. When I did, I noticed that my ~/.gitconfig file had spontaneously changed its `core.autocrlf` setting from `false` to `true`:

      I did not manually update this file on 9/19. Sourcetree did automatically when I initiated the update.

      As a user, it is important to me that my line-endings are as I have committed them. As such, I have configured my core.autoclrf setting accordingly. I consider this a clear expression of my intent as a user.

      It seems to me that if ~/.gitconfig exists on the filesystem, the SourceTree installer should read all the settings and preserve them by default, prompting the user if they intend to override these settings.

      It looks like this has been a recurring problem with Sourcetree, based on SRCTREEWIN-988 and SRCTREEWIN-1225.

      Please ensure that your installer preserves that intent accordingly.

              73ddb60f0fdb Reetika Narula
              00f8957cae10 Anthony Podkowa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: