| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fbc625bd-496d-4019-695e-a6cca5b7581f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9C3A:1A2FF2:22FCFEB:30C930C:69693F59 |
| html-safe-nonce | 6019c54004bf02116e382a06bbcaf9342909743292cbd9ba6882e4ea0cb77cfb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzNBOjFBMkZGMjoyMkZDRkVCOjMwQzkzMEM6Njk2OTNGNTkiLCJ2aXNpdG9yX2lkIjoiNzQ1OTU5Njk3NjM5MTc5ODYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 70e650c47814785558267f497d311282fa9e3e05382ca36f08e3669a989b2c7a |
| hovercard-subject-tag | pull_request:85194555 |
| 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/513/files |
| twitter:image | https://avatars.githubusercontent.com/u/2404909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2404909?s=400&v=4 |
| og:image:alt | The problem with the original code is that the lock was based on the presence of the lockfile, that is if the lockfile exists the _obtain_lock() fails otherwise it succeed on acquiring the lock.
Ho... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/gitpython-developers/GitPython/pull/513/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F513%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%2F513%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/513/files |
| Reload | https://github.com/gitpython-developers/GitPython/pull/513/files |
| Reload | https://github.com/gitpython-developers/GitPython/pull/513/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/513/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/513/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 |
| expobrain:master | https://github.com/expobrain/GitPython/tree/master |
|
Conversation
11
| https://github.com/gitpython-developers/GitPython/pull/513 |
|
Commits
11
| https://github.com/gitpython-developers/GitPython/pull/513/commits |
|
Checks
0
| https://github.com/gitpython-developers/GitPython/pull/513/checks |
|
Files changed
| https://github.com/gitpython-developers/GitPython/pull/513/files |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/513/files |
|
Use flock() for file locking
| https://github.com/gitpython-developers/GitPython/pull/513/files#top |
|
Show all changes
11 commits
| https://github.com/gitpython-developers/GitPython/pull/513/files |
|
547e6f0
Replaced lock file code with flock()
expobrain Sep 12, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/547e6f0e2e9ace80e6d6b08db3c15fe91efe880f |
|
6dfc870
No need to create the lock file beforehand
expobrain Sep 14, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/6dfc870cffcfa7ca29e30301fff256e4e5b181f3 |
|
1e4eff1
Ignore cache dir of Py.test
expobrain Sep 14, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/1e4eff1d7ff660077eb0e05f39f9466c7e00d34e |
|
ae19557
Updated AUTHORS
expobrain Sep 14, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/ae19557f8b6e5387b7275d46621535b24ace00d8 |
|
f0fcc07
Force GC collection
expobrain Sep 19, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/f0fcc072b37d6e773e18ea561ebce8ccba2ba19c |
|
26f9b9f
Merge remote-tracking branch 'upstream/master'
expobrain Oct 6, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/26f9b9f40144b73d75e739ef5e6552007b6376f8 |
|
d437f88
Fixed typo after merge
expobrain Oct 6, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/d437f8893f60bfdc703b0d16335f28ad2e799974 |
|
ab7a872
Updated file locking for Windows platform
expobrain Oct 7, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/ab7a87290149114e080037f8da0871939b1ed7fc |
|
c0b45fa
Updated setup to include Windows requirements
expobrain Oct 7, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/c0b45fa508a8826a70a0593f3808c8c053b91787 |
|
4c9dd7f
Forgot to uncomment conditional import
expobrain Oct 7, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/4c9dd7fac214bb0f85077cab40d4455cf3113b17 |
|
20b4f49
Fix syntax for Python 3.x
expobrain Oct 7, 2016
| https://github.com/gitpython-developers/GitPython/pull/513/commits/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79 |
|
Clear filters
| https://github.com/gitpython-developers/GitPython/pull/513/files |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/513/files |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/513/files |
|
.gitignore
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
AUTHORS
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463 |
|
test_util.py
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cd9475c05d282c05d0e479284496813cd7a309a44492e4263a6fbf4bbf9dc794 |
|
util.py
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
setup.py
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
|
win32-requirements.txt
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-ad66ba8a78f5c769b0d0ded927a7bf8b6c779ef21cf0567dcfe38a96c84b5343 |
| .gitignore | https://github.com/gitpython-developers/GitPython/pull/513/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
|
View file
| https://github.com/expobrain/GitPython/blob/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79/.gitignore |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/513/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-bc37d034bad564583790a46f19d807abfe519c5671395fd494d8cce506c42947 |
| AUTHORS | https://github.com/gitpython-developers/GitPython/pull/513/files#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463 |
|
View file
| https://github.com/expobrain/GitPython/blob/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79/AUTHORS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/513/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-ab6af77435f58cc0c9d4c31dfe05656e45187cc7c7fc02aada401a7642125463 |
| git/test/test_util.py | https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cd9475c05d282c05d0e479284496813cd7a309a44492e4263a6fbf4bbf9dc794 |
|
View file
| https://github.com/expobrain/GitPython/blob/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79/git/test/test_util.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/513/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cd9475c05d282c05d0e479284496813cd7a309a44492e4263a6fbf4bbf9dc794 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cd9475c05d282c05d0e479284496813cd7a309a44492e4263a6fbf4bbf9dc794 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cd9475c05d282c05d0e479284496813cd7a309a44492e4263a6fbf4bbf9dc794 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cd9475c05d282c05d0e479284496813cd7a309a44492e4263a6fbf4bbf9dc794 |
| git/util.py | https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
View file
| https://github.com/expobrain/GitPython/blob/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79/git/util.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/513/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-cb13395ac36dd593e722ec548880a091f39732af5c934880144d1a95de67944e |
| setup.py | https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
|
View file
| https://github.com/expobrain/GitPython/blob/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79/setup.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/513/{{ revealButtonHref }} |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
|
| https://github.com/gitpython-developers/GitPython/pull/513/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7 |
| win32-requirements.txt | https://github.com/gitpython-developers/GitPython/pull/513/files#diff-ad66ba8a78f5c769b0d0ded927a7bf8b6c779ef21cf0567dcfe38a96c84b5343 |
|
View file
| https://github.com/expobrain/GitPython/blob/20b4f49b4e71c90581c68ea7f4cf56160a6bdc79/win32-requirements.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/513/{{ revealButtonHref }} |
|
| 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 |