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: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:80772044-aaea-2b68-861b-05a091841652 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 98D2:141C7E:961AB1:CD861A:6A63B165 |
| html-safe-nonce | df8fc389dbb726a6a405e62781c4b215d7f5740b07232efb28f502f3e568118f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEQyOjE0MUM3RTo5NjFBQjE6Q0Q4NjFBOjZBNjNCMTY1IiwidmlzaXRvcl9pZCI6IjU4OTE4MzgwMzI1MTgyOTU5MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a8400d1f9f5cbe8537ca454dedda5f947079449aaf0e7172592ec221a4b2c7f |
| 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 | c69b5576237034cb6ab5477391df7811093a00579a751b33bed4b527d68aade6 |
| 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 | 5c31956f7a31ef033ef93ba813dcb6f7e8eb0972 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width