← Back to team overview

dulwich-users team mailing list archive

how to add remote and compare to current master?

 

Hey,

I'd like to use dulwich to something similar to:
  git remote add foo ...
  git fetch foo
  (find commits in foo/master which are not in origin/master, e.g.
   git shortlog master..foo/master)

However I didn't find a way just by reading the API docs, can you give me some
pointers? Is that even possible with the current version?

My end goal is to compare two repositories and find commits which are not in
the origin repo. Initially it would serve to get access to the missing commits
(especially the commit id).

Thank you very much for your time,
fs