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

No means to specify push-options #274

Closed
priitliivak opened this issue Feb 25, 2019 · 1 comment
Closed

No means to specify push-options #274

priitliivak opened this issue Feb 25, 2019 · 1 comment
Milestone

Comments

@priitliivak
Copy link

Currently PushOp does not contain configuration for setting jGit push-options.
I tried using configuration value push.pushOption but Git documentation seems to indicate that config value is used only when command line parameter is missing

When no --push-option= is given from the command line, the values of configuration variable push.pushOption are used instead.

Enabling debug logs revealed that jGit is passing "push-options agent=git/2.18.1" to Git and thus configuration values are not used.

Did not find any ways how to set push-options at the moment.

@ajoberstar
Copy link
Owner

Looks like we could a pushOptions list to correspond to JGit's setPushOptions.

If that would solve your issue let me know. And if you have time to submit a PR, that would be much appreciated, otherwise this will wait until I have time to do another around of updates.

ajoberstar added a commit that referenced this issue Mar 23, 2019
This can be used to pass data to pre-receive hooks.

This fixes #274.
@ajoberstar ajoberstar added this to the 3.1.0 milestone Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants