When right clicking a file in the SourceTree log I can choose "Log selected..." and get a log view for that specific file. Is there any way I could set up SourceTree as an External Tool in Visual Studio and pass it $(ItemPath) to have it open that log view for the current file.
I'd like a way to to view the log for a specific file without having to find the file in a commit first.
If possible I'd like to also set up the "Blame selected..." option from sourcetree as an external tool for the current file.
I'm using SourceTree with Git and Visual Studio 2012.
Visual Studio 2012 means:
either using Git Extensions, and you can easily call a log on a specific file there.
or using VS Tools for Git extension (included by default is VS 2013), and there you have to select the file in the explorer to see its history:
But:
That doesn't mean you have too "search" for that file though, since you can synchronize the Editor with the Explorer:
Tools - Options - Projects and Solutions - General - Track Active Item In Solution Explorer
(or use this extension).
That seems easier than install/declare a third-party tool.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With