Title: fix: fix incoherent beginning whitespace by cardoeng · Pull Request #1933 · gitpython-developers/GitPython · GitHub
Open Graph Title: fix: fix incoherent beginning whitespace by cardoeng · Pull Request #1933 · gitpython-developers/GitPython
X Title: fix: fix incoherent beginning whitespace by cardoeng · Pull Request #1933 · gitpython-developers/GitPython
Description: Some repositories contain files / directories beginning by a space in their history (example : react-component/field-form@0e81dc0).
The current version of GitPython returns this space sometimes when doing a diff (depending on whether the space is in a_path or b_path).
Python 3.12.3 [...] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import git
>>> git.Repo.clone_from("https://github.com/react-component/field-form", "field-form") # example repository
Open Graph Description: Some repositories contain files / directories beginning by a space in their history (example : react-component/field-form@0e81dc0). The current version of GitPython returns this space sometimes whe...
X Description: Some repositories contain files / directories beginning by a space in their history (example : react-component/field-form@0e81dc0). The current version of GitPython returns this space sometimes whe...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1933
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fcf2ea85-70e4-f148-c144-b6be685d0ca8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E126:A67A9:7AB432:A8F0A9:6968B08E |
| html-safe-nonce | b542ac6dda3b83351d0136b4b17595a74b03a6e54c3593fe30f8570752b9e8c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTI2OkE2N0E5OjdBQjQzMjpBOEYwQTk6Njk2OEIwOEUiLCJ2aXNpdG9yX2lkIjoiMzg3MDMwNTQ2NDM5MzE4MzM3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a77e5d35edf55e92832274b549f63e823b959ab3de393286af8c73d69962c23 |
| hovercard-subject-tag | pull_request:1925925747 |
| 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/gitpython-developers/GitPython/pull/1933/files |
| twitter:image | https://avatars.githubusercontent.com/u/57318964?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/57318964?s=400&v=4 |
| og:image:alt | Some repositories contain files / directories beginning by a space in their history (example : react-component/field-form@0e81dc0). The current version of GitPython returns this space sometimes whe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| 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