Having fetched commits from origin/master
with nodegit, is there any way to detect that the local repository has diverged from the origin?
Basically I'm after a way to do the equivalent of the command line...
$ git status
On branch master
Your branch and 'origin/master' have diverged
I have tried using repo.getStatus().then(...)
, but it resolves to an empty list.