![smartsynchronize command line args smartsynchronize command line args](https://www.lifewire.com/thmb/6kzKcEcCPXINlFzj8UUDxWq0mSY=/1118x745/filters:fill(auto,1)/command-prompt-windows-10-5c1953b446e0fb0001387c77.png)
How does it display this? What is required? You mention that "SmartGit can show the output." What is the output format accepted by SmartGIT? Are they called when double-clicking a file that is changed? As the setup seems to be that the Diff Tool is called then. Outside manually triggering them, when are External Tools called? Set "Show output and wait until finished" Note that we use SmartGIT for different types of repos, so I will need to write scripts for all: Git, Git LFS, etc I'm not sure whether this would work for diffing in history / log (?), I only seem to be able to have access to a single file path & commit. I don't seem to have access to the same script variables as in the Diff Tools In someway accesses the proper contents required from the diff given the filepath & commit. You should create a script under External Tools that: (Only opens when you double click a file that has changes) Access to the contents of both sides of the diff. While there is a "Diff Tools" setup, which provides the arguments one would want for writing a diff tool, namely: I'm writing this comment for future reference and to verify I understand things correctly / for others who are in the same situation: REM Sort JSON on key, and pretty print to temp fileįor /f "delims=" %%i in ('type tmpFileA') do set v1=!v1! %%iįor /f "delims=" %%i in ('type tmpFileB') do set v2=!v2! %%i REM Simple script that prettifies JSON and sorts it so the DIFFs make more sense, requires jq
![smartsynchronize command line args smartsynchronize command line args](https://i.ytimg.com/vi/MTLQaHvxnz8/maxresdefault.jpg)
If setup in `Diff Tools` as an `External diff tool`, using `$` as arguments I don't get the output piped in the "Changes" off > If the compare tool shows the result to the command line, SmartGit can show the output. I'm running into issue where the commandline script is properly setup, returning a diff to commandline, but I can't seem to get it setup in SmartGIT.
#SMARTSYNCHRONIZE COMMAND LINE ARGS HOW TO#
Would it be possible to get an example of setting up a script that shows the output in SmartGIT's "Changes" tab (and how to configure it in SmartGIT)?