libgit2 / libgit2/pygit2

How to implement (un)staging and query staging status ?

Open
#704 1 comment 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

Not a bug, but I cannot figure out how to achieve this using pygit2 / libgit. Does someone have clues about this ?

I tried to get information from this page http://www.pygit2.org/working-copy.html and I found https://github.com/libgit2/libgit2sharp/blob/master/LibGit2Sharp/Commands/Stage.cs and https://github.com/libgit2/libgit2/issues/3632

I want to implement staging feature to my code review tools: https://github.com/FabriceSalvaire/CodeReview

Is http://stackoverflow.com/questions/tagged/libgit2 the right place to discuss on pygit2 ???

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 working-copy documentation and compare it with the referenced LibGit2Sharp/Commands/Stage.cs and libgit2 issue #3632. Determine the staging and status APIs needed by CodeReview, but note that the issue does not define a concrete scope or completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.