vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Make git SCM provider aware of terminal operations

Open joyceerhl opened this issue 3 years ago • 0 comments

  1. Start drafting a commit in the SCM input box
  2. Finish committing from the terminal
  3. :bug: the SCM view doesn't know the commit has already happened and displays the stale tracked changes until explicitly refreshed

It would be great if the SCM view could use terminal shell integration to figure out that a commit has already happened and trigger a refresh in this scenario.

joyceerhl avatar Aug 10 '22 07:08 joyceerhl

Should be easy to accomplish after https://github.com/microsoft/vscode/issues/145234 is done. You will be able to subscribe to certain commands and just refresh after git*, hub*, etc. happens

Tyriar avatar Aug 10 '22 14:08 Tyriar