libgit2 / libgit2/libgit2sharp

Support for server push options

Open
#2,147 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

Please add support for server push options parameter. This parameter is equivalent to the value set in the git command line "--push-options"

Currentley the C library libgit2 already support server push options, and actually the internal class GitPushOptions also support it.
The problem is that this functionality is not exported by the public class PushOptions.

This functionality is extremely important so I will summit a pull request with the changes.
Thanks and I hope that pull request could be integrated as soon as possible.

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 comparing the public PushOptions class with the internal GitPushOptions class and the existing libgit2 support for the --push-options parameter. Trace how PushOptions moves through the push API, then verify that the public option reaches server push behavior. Done means callers can configure this parameter through PushOptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
api, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.