Skip to content
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

support --first-parent option in the jgit implementation of "git describe" #224

Open
helterscelter opened this issue Nov 16, 2015 · 3 comments
Labels

Comments

@helterscelter
Copy link

the current jgit based implementation doesn't have an option to choose tags by following the --first-parent. This is supposed to allow you to skip tags which are introduced by merges into the current branch. think multi-branch repositories where master/trunk represents "production". if you merge a hotfix forward from "master" into one of your develop branches, the annotated tag from the hotfix will be picked up instead of the tag on the development line.

@TheSnoozer
Copy link
Collaborator

Hi @helterscelter
thaks for reporting this here. This sounds like a great idea to go for.
You got the point that it mostly needs some jgit-implementation adjustments...
Ideas and PRs are very welcome :-)

@TheSnoozer
Copy link
Collaborator

@michalrrcc
Copy link

michalrrcc commented Mar 20, 2020

When having multiple long lived branches this option would be very useful, otherwise tags need to be moved manually after every merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants