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

Pygit2 update #129

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Pygit2 update #129

wants to merge 3 commits into from

Conversation

Werkov
Copy link

@Werkov Werkov commented Jul 4, 2024

I did it with one sed and some manual fixups.
The series has first the fixups and then the sed.
This works for me with git-explode on openSUSE TW with python311-pygit2-1.15.0-1.1.x86_64.

Curiously, BlameHunk.orig_commit_id of GitRef object still has .hex
member (as of pygit2-1.15.0).
obj.hex -> str(obj.id), done like

	sed -i 's/\(\w\w*\).hex/str(\1.id)/g' (git grep -l "\w*.hex")
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.

1 participant