github/github-services — Issue #205: Bug with distinct when rebasing.
Author: johnhaley81
Created: 2011-12-20 18:18:35+00:00
State: open

So in the payload sent from github-services there's a 'distinct' field that is labelled "new to the repository". But I found a way to get that flag to be true even if the commit isn't new to the repo.

Say you have a commit on branch in github labelled 'a' and that is based off of master. We'll say that 'a' is 2 commits behind master and is 1 commit infront and all of these changes already exist in github. If you rebase 'a' on master, then fast-forward master with that new commit and then push that change to github, the 'distinct' flag is set to true even though that commit is already in 'a' on github.

Is this the expected behavior?