Skip to content

Add support for reading git notes #928

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JakobDev
Copy link

Part of #915

@pjbgf pjbgf added this to the v5.11.0 milestone Nov 17, 2023
commit, err := r.CommitObject(head.Hash())
c.Assert(err, IsNil)

note, err := r.GetNote(commit)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a test case that also includes notes in.

You can create a sample repository with 1-2 commits with some notes. Then you submit its pack as a PR to https://github.com/go-git/go-git-fixtures.

That would enable you to refer to that pack via ByTag as we have in other parts of the code base.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we got your changes merged in the other repo, we just need to update the go-git-fixtures version to the latest.

@pjbgf
Copy link
Member

pjbgf commented Jan 17, 2024

Please reword the commit to git: Add support for reading git notes, so that the PR Validation passes.

@pjbgf pjbgf removed this from the v5.11.0 milestone Mar 7, 2024
@github-actions github-actions bot added the stale Issues/PRs that are marked for closure due to inactivity label Dec 27, 2024
@pjbgf pjbgf added no-autoclose Issues/PRs to be ignored by stale bot and removed stale Issues/PRs that are marked for closure due to inactivity labels Dec 28, 2024
@pjbgf pjbgf added this to the v6.0.0 milestone Dec 28, 2024
@github-actions github-actions bot added the stale Issues/PRs that are marked for closure due to inactivity label Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-autoclose Issues/PRs to be ignored by stale bot stale Issues/PRs that are marked for closure due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants