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

Add Git Notes #15

Merged
merged 2 commits into from
Dec 10, 2023
Merged

Add Git Notes #15

merged 2 commits into from
Dec 10, 2023

Conversation

JakobDev
Copy link
Contributor

For go-git/go-git#928

Hope I got everything right.

fixtures.go Outdated
@@ -189,6 +189,9 @@ var fixtures = Fixtures{{
}, {
Tags: []string{"packfile", "pack-sha256"},
PackfileHash: "407497645643e18a7ba56c6132603f167fe9c51c00361ee0c81d74a8f55d0ee2",
}, {
Tags: []string{"packfile", "Notes"},
Copy link
Member

Choose a reason for hiding this comment

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

All the tags are lowercased, so it would be good to be keep it consistent:

Suggested change
Tags: []string{"packfile", "Notes"},
Tags: []string{"packfile", "notes"},

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do I need to regenerate the tag in the git repo?

Copy link
Member

Choose a reason for hiding this comment

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

Hey @JakobDev, no that is not required. The "Tags" here are handled based on the string values you provide on this array and is checked here. It does not relate to any Git objects you may or may not have within your pack.

Copy link
Member

Choose a reason for hiding this comment

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

Please rebase your changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is now lowercase

@pjbgf pjbgf merged commit 5daeb50 into go-git:master Dec 10, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants