Title: Incorrect git_push_options's pb_parallelism documentation · Issue #4482 · libgit2/libgit2 · GitHub
Open Graph Title: Incorrect git_push_options's pb_parallelism documentation · Issue #4482 · libgit2/libgit2
X Title: Incorrect git_push_options's pb_parallelism documentation · Issue #4482 · libgit2/libgit2
Description: The pb_parallelism field of the git_push_options structure is documented to default to 1 (meaning no parallelism), but it is actually initialized to 0 by default (meaning auto-detected parallelism). If the transport being used to push to...
Open Graph Description: The pb_parallelism field of the git_push_options structure is documented to default to 1 (meaning no parallelism), but it is actually initialized to 0 by default (meaning auto-detected parallelism)...
X Description: The pb_parallelism field of the git_push_options structure is documented to default to 1 (meaning no parallelism), but it is actually initialized to 0 by default (meaning auto-detected parallelism)...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4482
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect git_push_options's pb_parallelism documentation","articleBody":"The `pb_parallelism` field of the `git_push_options` structure is documented to default to 1 (meaning no parallelism), but it is actually initialized to 0 by default (meaning auto-detected parallelism).\r\n\r\n\u003e If the transport being used to push to the remote requires the creation of a pack file, this controls the number of worker threads used by the packbuilder when creating that pack file to be sent to the remote. If set to 0, the packbuilder will auto-detect the number of threads to create. **The default value is 1**.\r\n\r\n~~~\r\n#define GIT_PUSH_OPTIONS_INIT { GIT_PUSH_OPTIONS_VERSION, 0, GIT_REMOTE_CALLBACKS_INIT, GIT_PROXY_OPTIONS_INIT }\r\n~~~\r\n\r\nPlease, correct the documentation or the initial value. In my case, the automatic parallelism was unexpected.\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n0.26.0\r\n","author":{"url":"https://github.com/medranocalvo","@type":"Person","name":"medranocalvo"},"datePublished":"2018-01-18T12:29:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4482/libgit2/issues/4482"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:87cee0a5-602d-8456-f354-4b8bcc1211e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8B6:1FBD82:39B236B:4C575ED:6A5D2B13 |
| html-safe-nonce | 88174f41ed67fcdcd846f0e5ba609dbae1f3d32a6f9bff50638b2d4c096b70c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEI2OjFGQkQ4MjozOUIyMzZCOjRDNTc1RUQ6NkE1RDJCMTMiLCJ2aXNpdG9yX2lkIjoiMTM2MDE3MzgyNjExNDkyMzI4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a258d6c586601fc12a401e29ae45b4ffc3fa478e627805fe5bb97f58772d4cd7 |
| hovercard-subject-tag | issue:289611711 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2/4482/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f19910f861d6b9ab470304a4af8c729be52b32df2b413f609ad60a825493929c/libgit2/libgit2/issues/4482 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f19910f861d6b9ab470304a4af8c729be52b32df2b413f609ad60a825493929c/libgit2/libgit2/issues/4482 |
| og:image:alt | The pb_parallelism field of the git_push_options structure is documented to default to 1 (meaning no parallelism), but it is actually initialized to 0 by default (meaning auto-detected parallelism)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | medranocalvo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width