Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for push options #1282

Merged
merged 3 commits into from
Mar 27, 2024
Merged

Add support for push options #1282

merged 3 commits into from
Mar 27, 2024

Commits on Mar 27, 2024

  1. Add and use StrArray.ptr()

    To emphasize that the StrArray() context manager returns a pointer,
    implement its ptr() property and use it whenever calling a C function
    that takes a pointer to a git_strarray structure as a parameter.
    kempniu committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    88580c2 View commit details
    Browse the repository at this point in the history
  2. Add StrArray.assign_to()

    Enable the StrArray() context manager to be used for assigning a list of
    strings to a pre-existing git_strarray structure.  This is useful when
    some other structure contains a git_strarray (rather than a pointer to
    it).
    kempniu committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    7fa10a9 View commit details
    Browse the repository at this point in the history
  3. Add support for push options

    Add a new keyword argument to Remote.push() that is a counterpart of
    `git push --push-option=<string>`.
    
    Fixes #1126
    kempniu committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    34b6875 View commit details
    Browse the repository at this point in the history