Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd git merge-base command into GitPython #169
Comments
Note that the |
|
You can watch the development video on youtube |
This implementation doesn't support "--is-ancestor" flag very well, it returns empty list for both 0 and 1 status code case. |
Can you please open a new issue with some information about the version of GitPython and python you are using, along with how I can reproduce the issue ? |
Does this support getting the common ancestor commit of two given branches ? |
It would be nice if there was a way in the GitPython API to do the following native git command:
For example, it would be nice to be able to perform the following:
The expected output, assuming the least common ancestor of 'de1f33' and '78dd34' was '6ff871', (obviously all of these commits have fictional SHAs) would be: