Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pythonthings
pygit2
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
pygit2
src
diff.c
on
pr346
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 30, 2015
Diff and Patch interface refactored
petrhosek
authored and
jdavid
committed
a3cb12e
View commit details
Copy full SHA for a3cb12e
View code at this point
Browse repository at this point
Add DiffHunk.header
Show description for da98890
jdavid
committed
da98890
View commit details
Copy full SHA for da98890
View code at this point
Browse repository at this point
Commits on Mar 16, 2015
New DiffDelta.status_char()
jdavid
committed
8b05b29
View commit details
Copy full SHA for 8b05b29
View code at this point
Browse repository at this point
New DiffFile members: size, flags and mode
jdavid
committed
b2ffc8a
View commit details
Copy full SHA for b2ffc8a
View code at this point
Browse repository at this point
internal: add wrap_diff_hunk
jdavid
committed
e32df6a
View commit details
Copy full SHA for e32df6a
View code at this point
Browse repository at this point
Commits on Feb 20, 2015
Fix type check in Diff_getitem
Show description for bc66875
jdavid
committed
bc66875
View commit details
Copy full SHA for bc66875
View code at this point
Browse repository at this point
Commits on Feb 12, 2015
New DiffLine
Show description for 3d89676
jdavid
committed
3d89676
View commit details
Copy full SHA for 3d89676
View code at this point
Browse repository at this point
Commits on Jan 29, 2015
New DiffDelta and DiffFile
Show description for 909e03d
jdavid
committed
909e03d
View commit details
Copy full SHA for 909e03d
View code at this point
Browse repository at this point
Commits on Jan 26, 2015
internal: split patch.c from diff.c
Show description for 8881b75
jdavid
committed
8881b75
View commit details
Copy full SHA for 8881b75
View code at this point
Browse repository at this point
Commits on Jan 23, 2015
Rename pygit2.Hunk to pygit2.DiffHunk
Show description for 061961f
jdavid
committed
061961f
View commit details
Copy full SHA for 061961f
View code at this point
Browse repository at this point
Commits on Jan 14, 2015
Fix compiler warnings
garious
committed
81bde5d
View commit details
Copy full SHA for 81bde5d
View code at this point
Browse repository at this point
Commits on Jan 5, 2015
Fix use-after-free when patch outlives diff
garious
committed
4f88840
View commit details
Copy full SHA for 4f88840
View code at this point
Browse repository at this point
Commits on Nov 12, 2014
Minor styling
jdavid
committed
beff871
View commit details
Copy full SHA for beff871
View code at this point
Browse repository at this point
Commits on Nov 9, 2014
Get rid of allocfmt()
Show description for 11eea2d
carlosmn
committed
11eea2d
View commit details
Copy full SHA for 11eea2d
View code at this point
Browse repository at this point
Commits on Jul 25, 2014
Parsed parameters directly passed into options object
Arno van Lumig
committed
e31f0ac
View commit details
Copy full SHA for e31f0ac
View code at this point
Browse repository at this point
Implemented parameters for Diff.find_similar()
Show description for eb001f0
Arno van Lumig
committed
eb001f0
View commit details
Copy full SHA for eb001f0
View code at this point
Browse repository at this point
Commits on Jul 10, 2014
Make python3 happy
carlosmn
committed
7f922ae
View commit details
Copy full SHA for 7f922ae
View code at this point
Browse repository at this point
Move Index to cffi
Show description for 97ee7ab
carlosmn
committed
97ee7ab
View commit details
Copy full SHA for 97ee7ab
View code at this point
Browse repository at this point
Commits on Apr 1, 2014
Adjust to oid -> id renaming
carlosmn
committed
e5f6798
View commit details
Copy full SHA for e5f6798
View code at this point
Browse repository at this point
Adjust to the git_buf changes
Show description for dd6fc97
carlosmn
committed
dd6fc97
View commit details
Copy full SHA for dd6fc97
View code at this point
Browse repository at this point
Commits on Mar 27, 2014
Make dealloc use tp_free or don't allow inheritance
Show description for 940a6da
carlosmn
committed
940a6da
View commit details
Copy full SHA for 940a6da
View code at this point
Browse repository at this point
Commits on Feb 21, 2014
diff: Fix for memory leak in git_patch
earl
committed
0e4a272
View commit details
Copy full SHA for 0e4a272
View code at this point
Browse repository at this point
Commits on Feb 4, 2014
Update copyright year
jdavid
committed
d7071b8
View commit details
Copy full SHA for d7071b8
View code at this point
Browse repository at this point
Commits on Jan 15, 2014
Support diff for blobs
petrhosek
committed
dcc9051
View commit details
Copy full SHA for dcc9051
View code at this point
Browse repository at this point
Commits on Dec 16, 2013
Fix no patch diff.
xtao
committed
fafb4b9
View commit details
Copy full SHA for fafb4b9
View code at this point
Browse repository at this point
Commits on Nov 25, 2013
PEP-7: Do not use C++ style // one-line comments
jdavid
committed
cb9ffa8
View commit details
Copy full SHA for cb9ffa8
View code at this point
Browse repository at this point
Commits on Nov 24, 2013
C coding style: indentation fixes
jdavid
committed
f26d6be
View commit details
Copy full SHA for f26d6be
View code at this point
Browse repository at this point
Commits on Nov 20, 2013
Adjust to libgit2 development branch
Show description for b7e906e
carlosmn
committed
b7e906e
View commit details
Copy full SHA for b7e906e
View code at this point
Browse repository at this point
Commits on Nov 1, 2013
Merge remote-tracking branch 'alexband/size'
jdavid
committed
145646a
View commit details
Copy full SHA for 145646a
View code at this point
Browse repository at this point
add len(diff) instead of diff.size
Huang Huang
committed
c0b1ab9
View commit details
Copy full SHA for c0b1ab9
View code at this point
Browse repository at this point
Commits on Oct 31, 2013
Rename Patch.binary to Patch.is_binary for consistency
jdavid
committed
5074435
View commit details
Copy full SHA for 5074435
View code at this point
Browse repository at this point
Merge remote-tracking branch 'xtao/binary'
Show description for b382d3c
jdavid
committed
b382d3c
View commit details
Copy full SHA for b382d3c
View code at this point
Browse repository at this point
Commits on Oct 30, 2013
the number of deltas/patches in one diff
Huang Huang
committed
9730564
View commit details
Copy full SHA for 9730564
View code at this point
Browse repository at this point
Add binary for patch.
xtao
committed
d0b366e
View commit details
Copy full SHA for d0b366e
View code at this point
Browse repository at this point
Add additions and deletions for patch.
xtao
committed
c6d2a65
View commit details
Copy full SHA for c6d2a65
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.