libgit2 / libgit2/pygit2

git blame get None final_committer when the committer email is null BUT the name not null

Open
#1,023 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.7k
Forks
408
Avg merge
2d 57m
Merged PRs (30d)
7

Description

i want to get final_committer name when use git blame for line, but get NoneType, and i found what cause that is the committer email is none, but all i want is just the commiter name, can it fix , please

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the git blame case where the committer email is null but the committer name is present. Trace how pygit2 exposes the final_committer value and identify the existing blame-related tests or entry point. Done means the final_committer name remains available for this case without breaking normal blame results.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.