Title: Git test environment consistency by elovelan · Pull Request #2152 · gitpython-developers/GitPython · GitHub
Open Graph Title: Git test environment consistency by elovelan · Pull Request #2152 · gitpython-developers/GitPython
X Title: Git test environment consistency by elovelan · Pull Request #2152 · gitpython-developers/GitPython
Description: When implementing #2151, I ran into a few issues running tests due to: By default, GitHub now forks only the default branch when forking a repo. One of the docs tests was relying on origin/master existing, which is unlikely in a fork scenario, since the common pattern is to set origin to the fork and upstream to the primary repo. I have a few "convenience" features in my configuration such as main as the default repo branch name and fetch.prune=true. These break some of the tests so it seemed like it might be a good idea to always use a consistent config file.
Open Graph Description: When implementing #2151, I ran into a few issues running tests due to: By default, GitHub now forks only the default branch when forking a repo. One of the docs tests was relying on origin/master ...
X Description: When implementing #2151, I ran into a few issues running tests due to: By default, GitHub now forks only the default branch when forking a repo. One of the docs tests was relying on origin/master ...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2152
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4af3025e-7fb8-5a1a-7512-720ec3d5f2b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ECDA:3782:5164:5E38:6A5CA674 |
| html-safe-nonce | f335b91fd561b4dfc01b4f0ea59aab1ae6583b39072f2d17fcd9e0cd8384718c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0RBOjM3ODI6NTE2NDo1RTM4OjZBNUNBNjc0IiwidmlzaXRvcl9pZCI6IjI3Mzc3Njc0NjIyNzIyODAxODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | da87040974d87037950765d6d93afb76a02dedb5b337742ea394965791b00ce5 |
| hovercard-subject-tag | pull_request:3671709891 |
| 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/2152/files |
| twitter:image | https://avatars.githubusercontent.com/u/563397?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/563397?s=400&v=4 |
| og:image:alt | When implementing #2151, I ran into a few issues running tests due to: By default, GitHub now forks only the default branch when forking a repo. One of the docs tests was relying on origin/master ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width