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

git: Add support for adding tag info to commit #597

Merged
merged 5 commits into from
Aug 21, 2023
Merged

Commits on Aug 21, 2023

  1. git: add support for linking a parent tag to a commit

    Add a new struct `AnnotatedTag` that represents a Git annotated tag and
    add it as a new field `Commit.ReferencingTag`, allowing for a commit to
    contain information about its referencing tag. Add support for verifying
    referecning tag as well.
    
    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    fba7100 View commit details
    Browse the repository at this point in the history
  2. git/gogit: add tag info to commit when checking out via tag

    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    75c942d View commit details
    Browse the repository at this point in the history
  3. git/gogit: add tag info to commit when checking out via semver

    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    5658f3b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    320d78f View commit details
    Browse the repository at this point in the history
  5. git: add support for lightweight tags

    Add support for lightweight tags by checking the presence of a tag
    reference and a tag object. Modify the cloning logic to always attach a
    tag object to a commit object if checking out via a tag.
    
    Signed-off-by: Sanskar Jaiswal <[email protected]>
    aryan9600 committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    0f40956 View commit details
    Browse the repository at this point in the history