Title: v0.27.4: invalid packet line · Issue #4762 · libgit2/libgit2 · GitHub
Open Graph Title: v0.27.4: invalid packet line · Issue #4762 · libgit2/libgit2
X Title: v0.27.4: invalid packet line · Issue #4762 · libgit2/libgit2
Description: Reproduction steps error = git_remote_push(remote, &refs, &push_options); Server response (github.com): 0013�000eunpack ok 0038�0033ng refs/pull/1/head deny updating a hidden ref 0038�0033ng refs/pull/4/head deny updating a hidden ref 00...
Open Graph Description: Reproduction steps error = git_remote_push(remote, &refs, &push_options); Server response (github.com): 0013�000eunpack ok 0038�0033ng refs/pull/1/head deny updating a hidden ref 0038�0033ng refs/p...
X Description: Reproduction steps error = git_remote_push(remote, &refs, &push_options); Server response (github.com): 0013�000eunpack ok 0038�0033ng refs/pull/1/head deny updating a hidden ref 0038�0033n...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4762
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v0.27.4: invalid packet line","articleBody":"### Reproduction steps\r\n\r\n```\r\nerror = git_remote_push(remote, \u0026refs, \u0026push_options);\r\n```\r\n\r\nServer response (github.com):\r\n\r\n```\r\n0013\u0001000eunpack ok\r\n0038\u00010033ng refs/pull/1/head deny updating a hidden ref\r\n0038\u00010033ng refs/pull/4/head deny updating a hidden ref\r\n001e\u00010019ok refs/heads/master\r\n0009\u000100000000\r\n```\r\n\r\n### Expected behavior\r\n\r\n`error == 0`\r\n### Actual behavior\r\n\r\n```c\r\nif (error == GITERR_NET) {\r\n git_error *g_error = giterr_last();\r\n printf(\"NetworkError: %s\", g_error-\u003emessage);\r\n}\r\n```\r\n\r\n=\u003e `NetworkError: invalid packet line`\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n\r\nv0.27.4 _(v0.27.3 works)_\r\n\r\n### Operating system(s) tested\r\n\r\nlinux, MacOS","author":{"url":"https://github.com/cschlack","@type":"Person","name":"cschlack"},"datePublished":"2018-08-11T07:44:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4762/libgit2/issues/4762"}
| 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:a346d6f6-9193-6ebd-f1c4-2fa4abee4685 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BA8:2B9CDD:56011D1:7361ED5:6A5DDA1F |
| html-safe-nonce | 4735aeb6d645b925c11dac1872ae5b4daea4b6885129ca7f89aa44969296d3dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkE4OjJCOUNERDo1NjAxMUQxOjczNjFFRDU6NkE1RERBMUYiLCJ2aXNpdG9yX2lkIjoiOTEwODc1NzQ2MDUwMTI1NjczNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | feeaab48ef34a81f80fb1415eba42f326b5868db49752f43c7a5efcb535b8937 |
| hovercard-subject-tag | issue:349714352 |
| 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/4762/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e8639f329f5114844c52037e96b0ee6bb8b15fe04ec7faf4f836eb2fce66b5a/libgit2/libgit2/issues/4762 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e8639f329f5114844c52037e96b0ee6bb8b15fe04ec7faf4f836eb2fce66b5a/libgit2/libgit2/issues/4762 |
| og:image:alt | Reproduction steps error = git_remote_push(remote, &refs, &push_options); Server response (github.com): 0013�000eunpack ok 0038�0033ng refs/pull/1/head deny updating a hidden ref 0038�0033ng refs/p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cschlack |
| 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