Title: Fix git_worktree_validate failing on bare repositories by tiennou · Pull Request #4686 · libgit2/libgit2 · GitHub
Open Graph Title: Fix git_worktree_validate failing on bare repositories by tiennou · Pull Request #4686 · libgit2/libgit2
X Title: Fix git_worktree_validate failing on bare repositories by tiennou · Pull Request #4686 · libgit2/libgit2
Description: This fixes #4669, as well as checking that #4684 really isn't our fault (I wasn't sure, since #4630 was about that problem). Sidenotes : I was expecting git_worktree_validate to return a "logical C bool", but it instead return negative error codes that don't map to "the standard" ones. That was surprising 😉. Looking at the diff, I'm also unsure what the list_bare test I moved was actually testing, as it's not run against the testsuite's repository.
Open Graph Description: This fixes #4669, as well as checking that #4684 really isn't our fault (I wasn't sure, since #4630 was about that problem). Sidenotes : I was expecting git_worktree_validate to return a &q...
X Description: This fixes #4669, as well as checking that #4684 really isn't our fault (I wasn't sure, since #4630 was about that problem). Sidenotes : I was expecting git_worktree_validate to ret...
Opengraph URL: https://github.com/libgit2/libgit2/pull/4686
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:52f75191-953b-5d76-91c8-cd2564ac5f7e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 90B0:1712DC:65FEFAA:860305A:6A5DCAE8 |
| html-safe-nonce | 3141f1a256fe0c0e62db6be33a91707274ebc5bf0b3763bc47c8841b6498f7cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEIwOjE3MTJEQzo2NUZFRkFBOjg2MDMwNUE6NkE1RENBRTgiLCJ2aXNpdG9yX2lkIjoiMzkzODgzOTg2NjcwOTQ5NDUwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1f47655a75cbedee668a7ea345cd9fb35729447fcc20df69639076198f086f50 |
| hovercard-subject-tag | pull_request:195610559 |
| 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/libgit2/libgit2/pull/4686/files |
| twitter:image | https://avatars.githubusercontent.com/u/81099?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/81099?s=400&v=4 |
| og:image:alt | This fixes #4669, as well as checking that #4684 really isn't our fault (I wasn't sure, since #4630 was about that problem). Sidenotes : I was expecting git_worktree_validate to return a &q... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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