repository.diff passing id_abbrev=40
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 408
- Avg merge
- 2d 57m
- Merged PRs (30d)
- 7
Description
Is there a way to pass in id_abbrev=40 into diff operation? Seems that libgit2 allows that, but there's no way to pass that via pygit2 diff/diff_to_tree functions
Go libgit2 allows that for example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the pygit2 diff and diff_to_tree entry points and compare their available options with libgit2's id_abbrev support. The work is done when callers can pass id_abbrev through these operations and the resulting diff honors that value; no test or file path is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100