Skip to content

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

Open

Description

@helterscelter

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.

Activity

  1. TheSnoozer commented on Nov 16, 2015

    @TheSnoozer
    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 :-)

  2. michalrrcc commented on Mar 20, 2020

    @michalrrcc

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions