| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/commits(/*name) |
| route-controller | commits |
| route-action | show |
| fetch-nonce | v2:cbb3d3b5-c2d5-66d7-f2c5-ab1b175f5a97 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D4D2:1D3E0A:AE1712:EDB03C:6B069971 |
| html-safe-nonce | 24f847726f8e51a48538e99d29b86a04c7e4d618b80468090b84ae16c3085f39 |
| visitor-payload | eyJyZWZlcnJlciI6bnVsbCwicmVxdWVzdF9pZCI6IkQ0RDI6MUQzRTBBOkFFMTcxMjpFREIwM0M6NkIwNjk5NzEiLCJ2aXNpdG9yX2lkIjoiOTEzNzYwMzc4ODAxNzE0NjIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImNlbnRyYWx1cyJ9 |
| visitor-hmac | 39bce7681d8c3ae44207b2ddbd69104276e53782bf2b5057b18ab6d96d5dbcd3 |
| hovercard-subject-tag | repository:35921497 |
| github-keyboard-shortcuts | repository,commit-list,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///commits/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/githubdelegate/GitPython/commits/master/git/diff.py |
| twitter:image | https://opengraph.githubassets.com/a90c7f5d613832bdf1de5d486136ebefc04fcb445c277718a963729d260fb03d/githubdelegate/GitPython |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a90c7f5d613832bdf1de5d486136ebefc04fcb445c277718a963729d260fb03d/githubdelegate/GitPython |
| og:image:alt | GitPython is a python library used to interact with Git repositories. - History for git/diff.py - githubdelegate/GitPython |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-cache |
| go-import | github.com/githubdelegate/GitPython git https://github.com/githubdelegate/GitPython.git |
| octolytics-dimension-user_id | 8112990 |
| octolytics-dimension-user_login | githubdelegate |
| octolytics-dimension-repository_id | 35921497 |
| octolytics-dimension-repository_nwo | githubdelegate/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 1126087 |
| octolytics-dimension-repository_parent_nwo | gitpython-developers/GitPython |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | commits |
| Skip to content | https://user:token@github.com/githubdelegate/GitPython/commits/master/git/diff.py#start-of-content |
| https://user:token@github.com/ |
| Sign in | https://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithubdelegate%2FGitPython%2Fcommits%2Fmaster%2Fgit%2Fdiff.py |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithubdelegate%2FGitPython%2Fcommits%2Fmaster%2Fgit%2Fdiff.py |
| Sign up | https://user:token@github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fcommits%2Fshow&source=header-repo&source_repo=githubdelegate%2FGitPython |
| Reload | https://user:token@github.com/githubdelegate/GitPython/commits/master/git/diff.py |
| Reload | https://user:token@github.com/githubdelegate/GitPython/commits/master/git/diff.py |
| Reload | https://user:token@github.com/githubdelegate/GitPython/commits/master/git/diff.py |
| githubdelegate | https://user:token@github.com/githubdelegate |
| GitPython | https://user:token@github.com/githubdelegate/GitPython |
| Code | https://user:token@github.com/githubdelegate/GitPython |
| Pull requests | https://user:token@github.com/githubdelegate/GitPython/pulls |
| Actions | https://user:token@github.com/githubdelegate/GitPython/actions |
| Projects | https://user:token@github.com/githubdelegate/GitPython/projects |
| Security and quality | https://user:token@github.com/githubdelegate/GitPython/security |
| Insights | https://user:token@github.com/githubdelegate/GitPython/pulse |
| https://user:token@github.com/githubdelegate/GitPython |
| GitPython | https://user:token@github.com/githubdelegate/GitPython/commits |
| git | https://user:token@github.com/githubdelegate/GitPython/commits/master/git |
| diff.py | https://user:token@github.com/githubdelegate/GitPython/commits/master/git/diff.py |
| master | https://user:token@github.com/githubdelegate/GitPython/tree/master |
| Store path attribute on Diff object | https://user:token@github.com/githubdelegate/GitPython/commit/50f763cfe38a1d69a3a04e41a36741545885f1d8 |
| https://user:token@github.com/jeblair |
| jeblair | https://user:token@github.com/githubdelegate/GitPython/commits?author=jeblair |
| 50f763c | https://user:token@github.com/githubdelegate/GitPython/commit/50f763cfe38a1d69a3a04e41a36741545885f1d8 |
| https://user:token@github.com/githubdelegate/GitPython/blob/50f763cfe38a1d69a3a04e41a36741545885f1d8/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/50f763cfe38a1d69a3a04e41a36741545885f1d8 |
| Overhauled all tutorials, and placed them in a unit-test. | https://user:token@github.com/githubdelegate/GitPython/commit/b54b9399920375f0bab14ff8495c0ea3f5fa1c33 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| b54b939 | https://user:token@github.com/githubdelegate/GitPython/commit/b54b9399920375f0bab14ff8495c0ea3f5fa1c33 |
| https://user:token@github.com/githubdelegate/GitPython/blob/b54b9399920375f0bab14ff8495c0ea3f5fa1c33/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/b54b9399920375f0bab14ff8495c0ea3f5fa1c33 |
| Now Diff.__str__ works correctly in all python versions. | https://user:token@github.com/githubdelegate/GitPython/commit/c767b5206f1e9c8536110dda4d515ebb9242bbeb |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| c767b52 | https://user:token@github.com/githubdelegate/GitPython/commit/c767b5206f1e9c8536110dda4d515ebb9242bbeb |
| https://user:token@github.com/githubdelegate/GitPython/blob/c767b5206f1e9c8536110dda4d515ebb9242bbeb/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/c767b5206f1e9c8536110dda4d515ebb9242bbeb |
| Fixed mode-handling in Diff creation, and added assertions to catch this in future | https://user:token@github.com/githubdelegate/GitPython/commit/85a5a8c6a931f8b3a220ed61750d1f9758d0810a |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 85a5a8c | https://user:token@github.com/githubdelegate/GitPython/commit/85a5a8c6a931f8b3a220ed61750d1f9758d0810a |
| https://user:token@github.com/githubdelegate/GitPython/blob/85a5a8c6a931f8b3a220ed61750d1f9758d0810a/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/85a5a8c6a931f8b3a220ed61750d1f9758d0810a |
| Added test to verify binary diffs are working as well. | https://user:token@github.com/githubdelegate/GitPython/commit/18caa610d50b92331485013584f5373804dd0416 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 18caa61 | https://user:token@github.com/githubdelegate/GitPython/commit/18caa610d50b92331485013584f5373804dd0416 |
| https://user:token@github.com/githubdelegate/GitPython/blob/18caa610d50b92331485013584f5373804dd0416/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/18caa610d50b92331485013584f5373804dd0416 |
| Added support for rename detection in raw mode (which is the default). | https://user:token@github.com/githubdelegate/GitPython/commit/987f9bbd08446de3f9d135659f2e36ad6c9d14fb |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 987f9bb | https://user:token@github.com/githubdelegate/GitPython/commit/987f9bbd08446de3f9d135659f2e36ad6c9d14fb |
| https://user:token@github.com/githubdelegate/GitPython/blob/987f9bbd08446de3f9d135659f2e36ad6c9d14fb/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/987f9bbd08446de3f9d135659f2e36ad6c9d14fb |
| Added assertion to better detect diff issues. | https://user:token@github.com/githubdelegate/GitPython/commit/27b4efed7a435153f18598796473b3fba06c513d |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 27b4efe | https://user:token@github.com/githubdelegate/GitPython/commit/27b4efed7a435153f18598796473b3fba06c513d |
| https://user:token@github.com/githubdelegate/GitPython/blob/27b4efed7a435153f18598796473b3fba06c513d/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/27b4efed7a435153f18598796473b3fba06c513d |
| test_diff works | https://user:token@github.com/githubdelegate/GitPython/commit/31b3673bdb9d8fb7feea8ae887be455c4a880f76 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 31b3673 | https://user:token@github.com/githubdelegate/GitPython/commit/31b3673bdb9d8fb7feea8ae887be455c4a880f76 |
| https://user:token@github.com/githubdelegate/GitPython/blob/31b3673bdb9d8fb7feea8ae887be455c4a880f76/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/31b3673bdb9d8fb7feea8ae887be455c4a880f76 |
| test_commit works once again | https://user:token@github.com/githubdelegate/GitPython/commit/e1060a2a8c90c0730c3541811df8f906dac510a7 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| e1060a2 | https://user:token@github.com/githubdelegate/GitPython/commit/e1060a2a8c90c0730c3541811df8f906dac510a7 |
| https://user:token@github.com/githubdelegate/GitPython/blob/e1060a2a8c90c0730c3541811df8f906dac510a7/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/e1060a2a8c90c0730c3541811df8f906dac510a7 |
| initial set of adjustments to make (most) imports work. | https://user:token@github.com/githubdelegate/GitPython/commit/f6aa8d116eb33293c0a9d6d600eb7c32832758b9 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| f6aa8d1 | https://user:token@github.com/githubdelegate/GitPython/commit/f6aa8d116eb33293c0a9d6d600eb7c32832758b9 |
| https://user:token@github.com/githubdelegate/GitPython/blob/f6aa8d116eb33293c0a9d6d600eb7c32832758b9/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/f6aa8d116eb33293c0a9d6d600eb7c32832758b9 |
| Bumped version, updated changelog, reduced code smell | https://user:token@github.com/githubdelegate/GitPython/commit/c80d727e374321573bb00e23876a67c77ff466e3 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| c80d727 | https://user:token@github.com/githubdelegate/GitPython/commit/c80d727e374321573bb00e23876a67c77ff466e3 |
| https://user:token@github.com/githubdelegate/GitPython/blob/c80d727e374321573bb00e23876a67c77ff466e3/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/c80d727e374321573bb00e23876a67c77ff466e3 |
| Applied autopep8 | https://user:token@github.com/githubdelegate/GitPython/commit/257264743154b975bc156f425217593be14727a9 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 2572647 | https://user:token@github.com/githubdelegate/GitPython/commit/257264743154b975bc156f425217593be14727a9 |
| https://user:token@github.com/githubdelegate/GitPython/blob/257264743154b975bc156f425217593be14727a9/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/257264743154b975bc156f425217593be14727a9 |
| pep8 linting (trailing whitespace) | https://user:token@github.com/githubdelegate/GitPython/commit/c8e70749887370a99adeda972cc3503397b5f9a7 |
| https://user:token@github.com/hashar |
| hashar | https://user:token@github.com/githubdelegate/GitPython/commits?author=hashar |
| c8e7074 | https://user:token@github.com/githubdelegate/GitPython/commit/c8e70749887370a99adeda972cc3503397b5f9a7 |
| https://user:token@github.com/githubdelegate/GitPython/blob/c8e70749887370a99adeda972cc3503397b5f9a7/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/c8e70749887370a99adeda972cc3503397b5f9a7 |
| pep8 linting (whitespace before/after) | https://user:token@github.com/githubdelegate/GitPython/commit/614907b7445e2ed8584c1c37df7e466e3b56170f |
| https://user:token@github.com/hashar |
| hashar | https://user:token@github.com/githubdelegate/GitPython/commits?author=hashar |
| 614907b | https://user:token@github.com/githubdelegate/GitPython/commit/614907b7445e2ed8584c1c37df7e466e3b56170f |
| https://user:token@github.com/githubdelegate/GitPython/blob/614907b7445e2ed8584c1c37df7e466e3b56170f/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/614907b7445e2ed8584c1c37df7e466e3b56170f |
| pep8 linting (blank lines expectations) | https://user:token@github.com/githubdelegate/GitPython/commit/be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 |
| https://user:token@github.com/hashar |
| hashar | https://user:token@github.com/githubdelegate/GitPython/commits?author=hashar |
| be34ec2 | https://user:token@github.com/githubdelegate/GitPython/commit/be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 |
| https://user:token@github.com/githubdelegate/GitPython/blob/be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 |
| pep8 linting (whitespaces) | https://user:token@github.com/githubdelegate/GitPython/commit/f5d11b750ecc982541d1f936488248f0b42d75d3 |
| https://user:token@github.com/hashar |
| hashar | https://user:token@github.com/githubdelegate/GitPython/commits?author=hashar |
| f5d11b7 | https://user:token@github.com/githubdelegate/GitPython/commit/f5d11b750ecc982541d1f936488248f0b42d75d3 |
| https://user:token@github.com/githubdelegate/GitPython/blob/f5d11b750ecc982541d1f936488248f0b42d75d3/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/f5d11b750ecc982541d1f936488248f0b42d75d3 |
| Untested fix for #172 | https://user:token@github.com/githubdelegate/GitPython/commit/5244f7751c10865df94980817cfbe99b7933d4d6 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| 5244f77 | https://user:token@github.com/githubdelegate/GitPython/commit/5244f7751c10865df94980817cfbe99b7933d4d6 |
| https://user:token@github.com/githubdelegate/GitPython/blob/5244f7751c10865df94980817cfbe99b7933d4d6/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/5244f7751c10865df94980817cfbe99b7933d4d6 |
| tabs to 4 spaces - this won't make integrating the patches easier, but it's probably a good idea to go a little more pep8 (and fix sins of my youth ;) ) | https://user:token@github.com/githubdelegate/GitPython/commit/f573b6840509bf41be822ab7ed79e0a776005133 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| f573b68 | https://user:token@github.com/githubdelegate/GitPython/commit/f573b6840509bf41be822ab7ed79e0a776005133 |
| https://user:token@github.com/githubdelegate/GitPython/blob/f573b6840509bf41be822ab7ed79e0a776005133/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/f573b6840509bf41be822ab7ed79e0a776005133 |
| OSX Signal handling: removed previous hack to fix it somehow using sleep - the error was caused by PySide which, when instantiating a QApplication, changed the signal handlers to interrupt, instead… | https://user:token@github.com/githubdelegate/GitPython/commit/b4b50e7348815402634b6b559b48191dba00a751 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| b4b50e7 | https://user:token@github.com/githubdelegate/GitPython/commit/b4b50e7348815402634b6b559b48191dba00a751 |
| https://user:token@github.com/githubdelegate/GitPython/blob/b4b50e7348815402634b6b559b48191dba00a751/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/b4b50e7348815402634b6b559b48191dba00a751 |
| Added the bugfix code as a utility function to be reused wherever this specific subprocess bug occurs. | https://user:token@github.com/githubdelegate/GitPython/commit/b424f87a276e509dcaaee6beb10ca00c12bb7d29 |
| b424f87 | https://user:token@github.com/githubdelegate/GitPython/commit/b424f87a276e509dcaaee6beb10ca00c12bb7d29 |
| https://user:token@github.com/githubdelegate/GitPython/blob/b424f87a276e509dcaaee6beb10ca00c12bb7d29/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/b424f87a276e509dcaaee6beb10ca00c12bb7d29 |
| Moved everything into the git subdirectory - some tests still need to be adjusted | https://user:token@github.com/githubdelegate/GitPython/commit/cb68eef0865df6aedbc11cd81888625a70da6777 |
| https://user:token@github.com/Byron |
| Byron | https://user:token@github.com/githubdelegate/GitPython/commits?author=Byron |
| cb68eef | https://user:token@github.com/githubdelegate/GitPython/commit/cb68eef0865df6aedbc11cd81888625a70da6777 |
| https://user:token@github.com/githubdelegate/GitPython/blob/cb68eef0865df6aedbc11cd81888625a70da6777/git/diff.py |
| https://user:token@github.com/githubdelegate/GitPython/tree/cb68eef0865df6aedbc11cd81888625a70da6777 |
|
| 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 |