Title: worktree: unlock should return 1 when the worktree isn't locked by tiennou · Pull Request #4769 · libgit2/libgit2 · GitHub
Open Graph Title: worktree: unlock should return 1 when the worktree isn't locked by tiennou · Pull Request #4769 · libgit2/libgit2
X Title: worktree: unlock should return 1 when the worktree isn't locked by tiennou · Pull Request #4769 · libgit2/libgit2
Description: A cross-platform, linkable library implementation of Git that you can use in your application. - worktree: unlock should return 1 when the worktree isn't locked by tiennou · Pull Request #4769 · libgit2/libgit2
Open Graph Description: The documentation states that git_worktree_unlock returns 0 on success, and 1 on success if the worktree wasn't locked. Turns out we were returning 0 in any of those cases. Found it while writi...
X Description: The documentation states that git_worktree_unlock returns 0 on success, and 1 on success if the worktree wasn't locked. Turns out we were returning 0 in any of those cases. Found it while w...
Opengraph URL: https://github.com/libgit2/libgit2/pull/4769
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:1ea60d2c-8742-d583-cd93-5d1a9445a1e6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A12:267409:1F70460:29563E0:6A5C99E1 |
| html-safe-nonce | a295018b27bb5d2616a7b8b3153969f62dec6797709d87613fd1e10358d33ec4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTEyOjI2NzQwOToxRjcwNDYwOjI5NTYzRTA6NkE1Qzk5RTEiLCJ2aXNpdG9yX2lkIjoiODEzNjMzNTQxMzk1NzQwMTA1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ca57c73039ada30c38ade3ab1cb3835924530e749755a96ce60561e0035dc33e |
| hovercard-subject-tag | pull_request:209005569 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/libgit2/libgit2/4769/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bc4c34cf6ea93630f4f6e2820968da0b5dbf5156f038b54ec2fc528be2009af1/libgit2/libgit2/pull/4769 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc4c34cf6ea93630f4f6e2820968da0b5dbf5156f038b54ec2fc528be2009af1/libgit2/libgit2/pull/4769 |
| og:image:alt | The documentation states that git_worktree_unlock returns 0 on success, and 1 on success if the worktree wasn't locked. Turns out we were returning 0 in any of those cases. Found it while writi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiennou |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-cache |
| 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