Skip to content

Improved version calculation for feature branches in mainline mode - … #1168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

JakeGinnivan
Copy link
Contributor

fixes #1154

In short when calculating the direct commits to master we need to remove any commits which are not on master. Otherwise we bump the mainline version on feature branches way too much. We also need to increment feature branches at the end of feature calculation unless the HEAD is a merge commit into the mainline branch (to cater for pull requests).

…ixes GitTools#1154

In short when calculating the direct commits to master we need to remove any commits which are not on master. Otherwise we bump the mainline version on feature branches way too much. We also need to increment feature branches at the end of feature calculation unless the HEAD is a merge commit into the mainline branch (to cater for pull requests).
@JakeGinnivan JakeGinnivan force-pushed the feature/mainline-commit-count-fix branch from d100355 to 41c0671 Compare February 25, 2017 11:51
@JakeGinnivan JakeGinnivan merged commit 1e184bc into GitTools:master May 14, 2017
@JakeGinnivan JakeGinnivan deleted the feature/mainline-commit-count-fix branch May 14, 2017 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version incremented on the feature branch for each commit when master is merged to the branch (Mainline mode)
1 participant