| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:81fac757-d0b5-afc1-ec1e-0d1a17647813 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8E0E:3244AB:86A3B2:B4B565:69698C7C |
| html-safe-nonce | 08adaedc630fc33578c12b1e598544558c3f78de5891f82f9bbb80e65215677b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTBFOjMyNDRBQjo4NkEzQjI6QjRCNTY1OjY5Njk4QzdDIiwidmlzaXRvcl9pZCI6Ijc3NTM3Mjk5NDYzMTAxMTQ1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 310609df1f563b4727a52f60216e13fc672fd5353139ff851ee9c612db4d282e |
| hovercard-subject-tag | pull_request:129576485 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/640/files |
| twitter:image | https://avatars.githubusercontent.com/u/4546435?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4546435?s=400&v=4 |
| og:image:alt | Added a convenience function called refresh. This functions accomplishes 2 things.
The first is that now the user can dynamically set the git path AFTER importing GitPython. In the following exampl... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/gitpython-developers/GitPython/pull/640/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F640%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F640%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=gitpython-developers%2FGitPython |
| Reload | https://github.com/gitpython-developers/GitPython/pull/640/files |
| Reload | https://github.com/gitpython-developers/GitPython/pull/640/files |
| Reload | https://github.com/gitpython-developers/GitPython/pull/640/files |
|
gitpython-developers
| https://github.com/gitpython-developers |
| GitPython | https://github.com/gitpython-developers/GitPython |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/640/files |
|
Notifications
| https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython |
|
Fork
964
| https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython |
|
Star
5k
| https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython |
|
Code
| https://github.com/gitpython-developers/GitPython |
|
Issues
169
| https://github.com/gitpython-developers/GitPython/issues |
|
Pull requests
8
| https://github.com/gitpython-developers/GitPython/pulls |
|
Discussions
| https://github.com/gitpython-developers/GitPython/discussions |
|
Actions
| https://github.com/gitpython-developers/GitPython/actions |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/gitpython-developers/GitPython/security |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/640/files |
|
Insights
| https://github.com/gitpython-developers/GitPython/pulse |
|
Code
| https://github.com/gitpython-developers/GitPython |
|
Issues
| https://github.com/gitpython-developers/GitPython/issues |
|
Pull requests
| https://github.com/gitpython-developers/GitPython/pulls |
|
Discussions
| https://github.com/gitpython-developers/GitPython/discussions |
|
Actions
| https://github.com/gitpython-developers/GitPython/actions |
|
Security
| https://github.com/gitpython-developers/GitPython/security |
|
Insights
| https://github.com/gitpython-developers/GitPython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose |
| Byron | https://github.com/Byron |
| gitpython-developers:master | https://github.com/gitpython-developers/GitPython/tree/master |
| kenodegard:adding_setup_for_git_executable | https://github.com/kenodegard/GitPython/tree/adding_setup_for_git_executable |
|
Conversation
3
| https://github.com/gitpython-developers/GitPython/pull/640 |
|
Commits
11
| https://github.com/gitpython-developers/GitPython/pull/640/commits |
|
Checks
0
| https://github.com/gitpython-developers/GitPython/pull/640/checks |
|
Files changed
| https://github.com/gitpython-developers/GitPython/pull/640/files |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/640/files |
|
Adding setup for git executable
| https://github.com/gitpython-developers/GitPython/pull/640/files#top |
|
Show all changes
11 commits
| https://github.com/gitpython-developers/GitPython/pull/640/files |
|
a962464
Preliminary implementation of setup/refresh functions
kenodegard Jul 9, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/a962464c1504d716d4acee7770d8831cd3a84b48 |
|
feed81e
Moved setup function into top level __init__
kenodegard Jul 9, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/feed81ea1a332dc415ea9010c8b5204473a51bdf |
|
aba0494
Renamed refresh to setup and removed alias function & added unittest
kenodegard Jul 9, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/aba0494701292e916761076d6d9f8beafa44c421 |
|
e8cb31d
Modified AUTHORS file
kenodegard Jul 9, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/e8cb31db6b3970d1e983f10b0e0b5eeda8348c7e |
|
b56d677
Added ability to silence initial warning
kenodegard Jul 9, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/b56d6778ee678081e22c1897ede1314ff074122a |
|
3430bde
Expanded ability of import
kenodegard Jul 13, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/3430bde60ae65b54c08ffa73de1f16643c7c3bfd |
|
4aa750a
Removed remaining references to git.setup function
kenodegard Jul 13, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/4aa750a96baf96ac766fc874c8c3714ceb4717ee |
|
2b3e769
Renamed GIT_PYTHON_INITERR to GIT_PYTHON_REFRESH
kenodegard Jul 13, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/2b3e769989c4928cf49e335f9e7e6f9465a6bf99 |
|
79a36a5
Minor additional cleanup
kenodegard Jul 25, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/79a36a54b8891839b455c2f39c5d7bc4331a4e03 |
|
90dc03d
Minor bug fixes
kenodegard Jul 26, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/90dc03da3ebe1daafd7f39d1255565b5c07757cb |
|
a56136f
Merge branch 'master' into adding_setup_for_git_executable
Byron Sep 28, 2017
| https://github.com/gitpython-developers/GitPython/pull/640/commits/a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1 |
|
Clear filters
| https://github.com/gitpython-developers/GitPython/pull/640/files |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/640/files |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/640/files |
|
AUTHORS
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463 |
|
__init__.py
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63 |
|
cmd.py
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
remote.py
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639 |
|
test_git.py
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ba4ffb83183d3241226e3267d9771569d0fbdad0b040e548cc42af193e87dd83 |
| AUTHORS | https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463 |
|
View file
| https://github.com/kenodegard/GitPython/blob/a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1/AUTHORS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/640/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463 |
| git/__init__.py | https://github.com/gitpython-developers/GitPython/pull/640/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63 |
|
View file
| https://github.com/kenodegard/GitPython/blob/a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1/git/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/640/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-6789dd4ae9fe98745671baf3f0e86d8ead5505232e6ecb26a3760ca10c636c63 |
| git/cmd.py | https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
View file
| https://github.com/kenodegard/GitPython/blob/a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1/git/cmd.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/640/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-35a18a749eb4d6efad45e56e78a9554926be5526e2ba2159b44311e718450e88 |
| git/remote.py | https://github.com/gitpython-developers/GitPython/pull/640/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639 |
|
View file
| https://github.com/kenodegard/GitPython/blob/a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1/git/remote.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/640/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-498082829601479324d7f95e72bd35bafafe74be1b0d8e1b7a42e181b08f3639 |
| git/test/test_git.py | https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ba4ffb83183d3241226e3267d9771569d0fbdad0b040e548cc42af193e87dd83 |
|
View file
| https://github.com/kenodegard/GitPython/blob/a56136f9cb48a17ae15b59ae0f3f99d9303b1cb1/git/test/test_git.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/640/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ba4ffb83183d3241226e3267d9771569d0fbdad0b040e548cc42af193e87dd83 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ba4ffb83183d3241226e3267d9771569d0fbdad0b040e548cc42af193e87dd83 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ba4ffb83183d3241226e3267d9771569d0fbdad0b040e548cc42af193e87dd83 |
|
| https://github.com/gitpython-developers/GitPython/pull/640/files#diff-ba4ffb83183d3241226e3267d9771569d0fbdad0b040e548cc42af193e87dd83 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |