SourceTree should use the default application for opening the global gitignore (and all files)

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: None

      I want to edit the global gitignore file for my account, but SourceTree opens it in TextEdit rather than my preferred application.

      Reproduction recipe

      1. Open the SourceTree Preferences dialog and go to the Git panel. Next to the Global ignore list field, click the “Edit file” button. SourceTree incorrectly opens the file in TextEdit.
      2. Confirm that I have set the file to open by default in another application.
        1. Open the file using the command-line utility:
          ~/ $ open .gitignore_global

          Result: The file opens in BBEdit.

        2. Locate the file using Finder. It’s a dotfile and so hidden by default, but I have hidden files set to visible. Also because it’s hidden, you have to right-click and choose Open.
          Result: The file opens in BBEdit.

      Extended cut

      I don’t know all the other places SourceTree launches files in this way, but it should use the user’s preferred application for all of them.

      Environment

      SourceTree-Beta Version 2.5.2 (109)
      OS X 10.11.5 (15F34)

            Assignee:
            Unassigned
            Reporter:
            Harold Tessmann III
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: