release-depot / git_wrapper

A python based wrapper around GitPython
MIT License
4 stars 8 forks source link

New function to check if a commit exists on a given remote branch #64

Closed jpichon closed 4 years ago

jpichon commented 4 years ago

This will be helpful to determine whether to push a rebase after e.g. dropping a downstream-only patch. If the new upstream commit is not on the remote, we know we need to push the rebase results for consistency.

jpichon commented 4 years ago

Thanks! For what it's worth, Travis did run on my my branch for the PR -> https://travis-ci.org/github/jpichon/git_wrapper/builds/708331164 . Waiting to merge is fine, we'll need a release for this as well before the rebaser can use it.

fuzzball81 commented 4 years ago

Closing to get Travis to re-trigger.

fuzzball81 commented 4 years ago

Reopening for travis.