8000 Some fields are missing in `BlameHunk` · Issue #1157 · rust-lang/git2-rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Some fields are missing in BlameHunk #1157

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
kojiishi opened this issue Apr 29, 2025 · 5 comments
Open

Some fields are missing in BlameHunk #1157

kojiishi opened this issue Apr 29, 2025 · 5 comments

Comments

@kojiishi
Copy link

These fields are in the git_blame_hunk in the libgit2, but not in the rust BlameHunk.

Could these be added?

@weihanglo
Copy link
Member

You can access orig_path through BlameHunk::path.

@weihanglo
Copy link
Member

The only missing part AFAIK is {final,orig}_commiter which I think we are open to adding methods to access those.

@kojiishi
Copy link
Author

Oh, sorry, I was looking for the same name. Thank you for pointing this out.