Why does delphi run git.exe in the background when I open the context menu of the editor (before view this menu)?
Why does delphi run git.exe in the background when I open the context menu of the editor (before view this menu)?
http://snap.ashampoo.com/uploads/2017-10-27/BB5ce9zy.png
http://snap.ashampoo.com/uploads/2017-10-27/BB5ce9zy.png
Jacek Laskowski As I said, it is a guess. Maybe it is checking to see if the file has changed, so it adds the Commit/Revert options. If you add a new file, does the menu options change (like is Add is available?)
ReplyDeleteAre you able to capture the command line parameters of the Git call? This would provide a lot more information than the guess work which is happening here...
Nicholas Ring New unit does not have a submenu Version Control.
ReplyDeleteGit is run with these parameters:
git.exe log --max-count=1 "file.pas"
and next:
git.exe status "file.pas"
Jacek Laskowski It seems that I could be right... It runs Git to set the "static" (and I use that term loosely) menus.
ReplyDeletegit log : https://git-scm.com/docs/git-log
git status : https://git-scm.com/docs/git-status