I would like to facilitate the use of TortoiseGit when I am using Total Commander.
Here is the use case. After a directories/files selection, I want to avoid to have to do a right-click on the panel, go to the TortoiseGit contextual menu and click on its right submenu (like 'Diff' or 'Show log'). I can use the keyboard as well, by doing Shift + F10 and navigating the contextual menu using the underlined letters and/or the arrow keys by example. But it would be quicker and easier to skip the contextual menu step. By example, if I want to commit modified file on 2 directories, I would select both of them with the Insert key then do a command to open directly the TortoiseGit' Commit dialog.
I know how to add a button in the button bar to call a program, in that case TortoiseGitProc.exe. I have to pass parameters to it. I know that there is special parameters like %P, %S, etc. The problem is that I don't know if there is a "built-in" way to get the selected directories/files with the following format (i.e. separated by asterisk). I don't want to have to call a .bat file for it.
Code: Select all
c:\path\to\my\dir1*c:\path\to\my\dir2
Thank youSince some of the commands can take a list of target paths (e.g. committing several specific files) the /path parameter can take several paths, separated by a * character.
https://tortoisegit.org/docs/tortoisegit/tgit-automation.html#tgit-automation-basics
Jonathan