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

Comments

  1. 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?)

    Are 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...

    ReplyDelete
  2. Nicholas Ring New unit does not have a submenu Version Control.
    Git is run with these parameters:
    git.exe log --max-count=1 "file.pas"
    and next:
    git.exe status "file.pas"

    ReplyDelete
  3. Jacek Laskowski It seems that I could be right... It runs Git to set the "static" (and I use that term loosely) menus.

    git log : https://git-scm.com/docs/git-log
    git status : https://git-scm.com/docs/git-status

    ReplyDelete

Post a Comment