-
Notifications
You must be signed in to change notification settings - Fork 47
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
First parent appears to be wrong when commit has multiple parents #157
Comments
Hi! So, first off, that doc is about previous version, that is That said..
Why not indeed? Looking back at the git history, I see no mention of it (even though I'm aware of it myself). Why don't you try make that change, and see if it negatively affects the tests. |
You mean use |
Ah, one of my long-standing peeves. Is a change breaking or a "bug-fix"? 😄 The current tests is the behaviour I think is right. The situation that you present also makes sense, so I think it would be a bug-fixing change, rather than a breaking change, provided it doesn't affect the scenarios covered in the tests. |
We ran into a similar issue on 4.1.1 :( We had a homegrown abomination that worked kind of like |
Hi. We're having a bit of a problem with DynVer (4.0.0) behavior right now. In the doc it is mentioned
We found that not to be true. Unless the first sentence implies direct parents ? Anyway. We have
develop
tagged with v1.2.0-SNAPSHOT followed by a couple commits, as well as amaster
whose HEAD is tagged say v1.2.0 (because we merged a release branch fromdevelop
). We then merged master into develop (to retrieve hotfixes).show dynverGitDescribeOutput
ondevelop
then shows 1.2.0. From the docs, I expected 1.2.0-SNAPSHOT not 1.2.0, since I basically did "develop
in git checkout develop && git merge master".The problem seems to come from the git describe command in the plugin. Why not just use something like
git describe --first-parent
?The text was updated successfully, but these errors were encountered: