Title: Is gitdb an implementation detail? · Issue #933 · gitpython-developers/GitPython · GitHub
Open Graph Title: Is gitdb an implementation detail? · Issue #933 · gitpython-developers/GitPython
X Title: Is gitdb an implementation detail? · Issue #933 · gitpython-developers/GitPython
Description: git.Repo(path).commit(bad_hash) This raises gitdb.exc.BadName (which is not catchable with git.exc.GitError "Base class for all package exceptions"). Do I need to catch gitdb exceptions too? I don't have a dep on gitdb otherwise.
Open Graph Description: git.Repo(path).commit(bad_hash) This raises gitdb.exc.BadName (which is not catchable with git.exc.GitError "Base class for all package exceptions"). Do I need to catch gitdb exceptions too? I don'...
X Description: git.Repo(path).commit(bad_hash) This raises gitdb.exc.BadName (which is not catchable with git.exc.GitError "Base class for all package exceptions"). Do I need to catch gitdb exceptions t...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/933
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is gitdb an implementation detail?","articleBody":"``` python\r\ngit.Repo(path).commit(bad_hash)\r\n```\r\nThis raises `gitdb.exc.BadName` (which is not catchable with `git.exc.GitError` \"Base class for all package exceptions\").\r\n\r\nDo I need to catch `gitdb` exceptions too? I don't have a dep on `gitdb` otherwise.","author":{"url":"https://github.com/tucked","@type":"Person","name":"tucked"},"datePublished":"2019-10-10T01:00:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/933/GitPython/issues/933"}
| 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:679fa582-69cd-cdd2-7903-4bd9c495f290 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD00:BCEAA:10DD4F1:1721F32:6A62DC49 |
| html-safe-nonce | fa1249e903e2d5661be22ecacf502fde0704029e151e11c8497a451a11a5d068 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDAwOkJDRUFBOjEwREQ0RjE6MTcyMUYzMjo2QTYyREM0OSIsInZpc2l0b3JfaWQiOiI4NzQxNzUwMzY2MTY0NjcxNTYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 095d55504b7aa13dce665d18b6a71a7d18e53c2f95953ce9dac0737c34bb1115 |
| hovercard-subject-tag | issue:504971236 |
| 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/gitpython-developers/GitPython/933/issue_layout |
| twitter:image | https://opengraph.githubassets.com/670bee6dbdd8d6434bfd8877b46d734ee60401c404d90b0fc89d26f18ff10b94/gitpython-developers/GitPython/issues/933 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/670bee6dbdd8d6434bfd8877b46d734ee60401c404d90b0fc89d26f18ff10b94/gitpython-developers/GitPython/issues/933 |
| og:image:alt | git.Repo(path).commit(bad_hash) This raises gitdb.exc.BadName (which is not catchable with git.exc.GitError "Base class for all package exceptions"). Do I need to catch gitdb exceptions too? I don'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tucked |
| hostname | github.com |
| expected-hostname | github.com |
| None | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width