Title: More functions need to set git_errno · Issue #9 · libgit2/libgit2 · GitHub
Open Graph Title: More functions need to set git_errno · Issue #9 · libgit2/libgit2
X Title: More functions need to set git_errno · Issue #9 · libgit2/libgit2
Description: There are several functions in libgit2, especially those that return pointers, that don't provide any information about errors. For example, git_repository_open returns NULL when a git directory is invalid, but also when out of memory. I...
Open Graph Description: There are several functions in libgit2, especially those that return pointers, that don't provide any information about errors. For example, git_repository_open returns NULL when a git directory is...
X Description: There are several functions in libgit2, especially those that return pointers, that don't provide any information about errors. For example, git_repository_open returns NULL when a git director...
Opengraph URL: https://github.com/libgit2/libgit2/issues/9
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More functions need to set git_errno","articleBody":"There are several functions in libgit2, especially those that return pointers, that don't provide any information about errors. For example, git_repository_open returns NULL when a git directory is invalid, but also when out of memory.\n\nIt would be great if we could count on any function that can cause an error to set git_errno. For functions that also return an error code, it should be possible to write a macro to set and return git_errno in one statement.\n","author":{"url":"https://github.com/dborowitz","@type":"Person","name":"dborowitz"},"datePublished":"2010-11-02T22:02:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/9/libgit2/issues/9"}
| 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:210db2f8-87eb-4416-c06e-20410f6b9d13 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A246:51308:94C353:C7E7D0:6A5EF258 |
| html-safe-nonce | 9c60a5969091f04f76018e6f4412972787aab546f44cd26ce3cddd5defe2ffc6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjQ2OjUxMzA4Ojk0QzM1MzpDN0U3RDA6NkE1RUYyNTgiLCJ2aXNpdG9yX2lkIjoiNjQ1MjMyOTU2MzgzODkzNTY0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 700358ce31ea98b1acacd581b933eb977cc467f489cc71415178a3d22b1849e8 |
| hovercard-subject-tag | issue:396784 |
| 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/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/273eee19b20fa0936ab12e1e9e4a735b690c92365434f976248902d81ec8642a/libgit2/libgit2/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/273eee19b20fa0936ab12e1e9e4a735b690c92365434f976248902d81ec8642a/libgit2/libgit2/issues/9 |
| og:image:alt | There are several functions in libgit2, especially those that return pointers, that don't provide any information about errors. For example, git_repository_open returns NULL when a git directory is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dborowitz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82d0004a35927bdb00c652a57f456c55aa0eda4ade1bc7956d7510fdea6e454b |
| 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 | d2d913dd727d2d7ac189fb4d05b10bc34ecd03ee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width