-
Suggestion
-
Resolution: Unresolved
-
None
-
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
- 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.
- Confirm that I have set the file to open by default in another application.
- Open the file using the command-line utility:
~/ $ open .gitignore_global
Result: The file opens in BBEdit.
- 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.
- Open the file using the command-line utility:
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)