Skip to content

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.

Werkov added 3 commits July 4, 2024 18:56
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")
@joker-at-work
Copy link

Made it work for me. Thank you 👍

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