When I do pep8radius master --diff I almost always want to compare the last shared commit of master and the current_branch.
(At the moment it uses git diff master to get lines changed from the tip of master. I'm suggesting making a decision on whether to choose the/a branch-point to diff against, or at least have this as an option.)
When I do
pep8radius master --diff
I almost always want to compare the last shared commit of master and the current_branch.(At the moment it uses
git diff master
to get lines changed from the tip of master. I'm suggesting making a decision on whether to choose the/a branch-point to diff against, or at least have this as an option.)See http://stackoverflow.com/questions/1527234/finding-a-branch-point-with-git
Does this concept only makes sense in the rebase model, rather than merging? ...not sure whether something like this would make a good API...