Title: `repo.blame` and `repo.blame_incremental` now accept `None` as the `rev` parameter. by Gaubbe · Pull Request #1846 · gitpython-developers/GitPython · GitHub
Open Graph Title: `repo.blame` and `repo.blame_incremental` now accept `None` as the `rev` parameter. by Gaubbe · Pull Request #1846 · gitpython-developers/GitPython
X Title: `repo.blame` and `repo.blame_incremental` now accept `None` as the `rev` parameter. by Gaubbe · Pull Request #1846 · gitpython-developers/GitPython
Description: Fixes #1835. As this pull request only affects the typings and does not change the behavior in any way, I did not write a test for the changes I made. While a test definitely could be written to see if the library does parse a blame output with uncommited changes, I don't perticularily think this is necessary, as the output format of the git blame -p command is the same as if there had been a commit, just with hard-coded values (such as the null SHA as the commit hash). Therefore, there is no reason the parsing would fail. I did manually test both methods with the None rev parameter and they do give the expected behavior. Let me know if you want me to change anything else!
Open Graph Description: Fixes #1835. As this pull request only affects the typings and does not change the behavior in any way, I did not write a test for the changes I made. While a test definitely could be written to se...
X Description: Fixes #1835. As this pull request only affects the typings and does not change the behavior in any way, I did not write a test for the changes I made. While a test definitely could be written to se...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1846
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:5740b932-535c-0730-9528-89ced313cc44 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | DEF2:CE1F5:A590:D630:6968AFA3 |
| html-safe-nonce | 89e35fb4da7e7693a38051dae7ceddc949553240350dbd606fac3c022fa422d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUYyOkNFMUY1OkE1OTA6RDYzMDo2OTY4QUZBMyIsInZpc2l0b3JfaWQiOiI2NjE3MjY1OTE1ODMxMDM3ODU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 424ca37eed67327eddaecc485d84ee651a64503a7ab21333f3dfeb2435f476a6 |
| hovercard-subject-tag | pull_request:1741980644 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/gitpython-developers/GitPython/pull/1846/checks |
| twitter:image | https://avatars.githubusercontent.com/u/32037542?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/32037542?s=400&v=4 |
| og:image:alt | Fixes #1835. As this pull request only affects the typings and does not change the behavior in any way, I did not write a test for the changes I made. While a test definitely could be written to se... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width