Open watergear opened 8 years ago
I'm having the problem where I use sublime-text-git to do a "git diff master" for instance and open a new view, and then when I press Enter in a hunk to go to the file for that hunk, sublime-text-git has forgotten where the git repository root is and asks for it over and over again, for every file in the diff.
Start Sublime Text with empty project. Open a file from any Git repository folder, but don't add that folder to project. Make some changes in file. Try:
Git: Diff All Files
. Then a new Diff window is generatedGit: Add All
andGit: Commit
. Then a new Add Commit window is generatedGit: Log All
and pick any one in list. Then a new Commit details window is generatedPut the cursor on diff lines (start from -/+) and press
Enter
key.A input text box pop up
It is unneccessary to ask for repo directory and should directly goto the repo directory of original file which generating such Diff or Commit windows.