79661990

Date: 2025-06-11 12:29:37
Score: 1
Natty:
Report link

I just added an event listener to the repository, without wrapping it in a state change listener.

 git.repositories[0].onDidCommit(() => {
    console.log("committed")
 })

And it works. Check your VS Code version, you need above 1.86.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vitaliy