Title: Sast checks · Issue #129 · gitpython-developers/gitdb · GitHub
Open Graph Title: Sast checks · Issue #129 · gitpython-developers/gitdb
X Title: Sast checks · Issue #129 · gitpython-developers/gitdb
Description: SonarQube reveal two issues (could be refactored): Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements): gitdb/gitdb/pack.py Line 851 in f8fdfec return ...
Open Graph Description: SonarQube reveal two issues (could be refactored): Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements): gitdb/g...
X Description: SonarQube reveal two issues (could be refactored): Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements): gitdb/g...
Opengraph URL: https://github.com/gitpython-developers/gitdb/issues/129
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sast checks","articleBody":"SonarQube reveal two issues (could be refactored):\n1. Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements):\nhttps://github.com/gitpython-developers/gitdb/blob/f8fdfec0fd0a0aed9171c6cf2c5cb8d73e2bb305/gitdb/pack.py#L851\n\n2. This branch duplicates the one on line 268.\nhttps://github.com/gitpython-developers/gitdb/blob/f8fdfec0fd0a0aed9171c6cf2c5cb8d73e2bb305/gitdb/pack.py#L270\nand\nhttps://github.com/gitpython-developers/gitdb/blob/f8fdfec0fd0a0aed9171c6cf2c5cb8d73e2bb305/gitdb/pack.py#L268","author":{"url":"https://github.com/sminux","@type":"Person","name":"sminux"},"datePublished":"2025-11-01T06:13:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/129/gitdb/issues/129"}
| 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:5385d4dc-9271-a537-056b-6fa9f6253a96 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8556:4F147:72491E:9AA374:696975C8 |
| html-safe-nonce | b4cccf623c75a1f6de3b4da4463de2885809cfaf496589cb8b0958886b5a47ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTU2OjRGMTQ3OjcyNDkxRTo5QUEzNzQ6Njk2OTc1QzgiLCJ2aXNpdG9yX2lkIjoiODk5MDQ1NDE5NjkyOTY1NjI2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 94427e0970f4aff02a9828b05a185abfa17247e8996c206380856fc2fa656910 |
| hovercard-subject-tag | issue:3577349328 |
| 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/gitdb/129/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9a708a4c002a15d1dd5f440d7e4fdb0e968d3d18e47aae54725caea54c188c5/gitpython-developers/gitdb/issues/129 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9a708a4c002a15d1dd5f440d7e4fdb0e968d3d18e47aae54725caea54c188c5/gitpython-developers/gitdb/issues/129 |
| og:image:alt | SonarQube reveal two issues (could be refactored): Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements): gitdb/g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sminux |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/gitdb git https://github.com/gitpython-developers/gitdb.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126093 |
| octolytics-dimension-repository_nwo | gitpython-developers/gitdb |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126093 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/gitdb |
| 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 | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width