libgit2 / libgit2/pygit2

Walk through a specific subdirectory

Open
#1,074 2 comments 0 reactions 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

How do I walk through a specific subdirectory? , in terminal I can do something similar to git log -- path/to/folder
However in this lib I couldn't find a way to do so, Atleast I couldn't find it in the docs https://www.pygit2.org/recipes/git-log.html
Thanks in advance.

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 with the pygit2 git-log recipe linked in the issue and review how it handles repository history. Determine whether walking a specific subdirectory is supported and what documentation would need to explain; done means the supported approach or its limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.