Hi fellow coders,
I'm looking for a programmatic way to retrieve a list of pushed commits after a user makes the git push (git4idea plugin). So far I have connected to project message bus and registered GitRepositoryChangeListener. It receives GitRepository as an argument. But how do I get a list of commits now? Or is there a better way to do that?