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 }}
Grinv
libgit2
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
libgit2
include
git2
patch.h
on
shallow-commit-graph
User selector
All users
Datepicker
All time
Commit history
Commits on Jun 25, 2026
docs: specify out params
ethomson
committed
e32cb67
View commit details
Copy full SHA for e32cb67
View code at this point
Browse repository at this point
Commits on Nov 26, 2024
Improve documentation
ethomson
committed
338ceb9
View commit details
Copy full SHA for 338ceb9
View code at this point
Browse repository at this point
Commits on Jan 9, 2022
Add documentation about parameter and return value
punkymaniac
committed
68bc511
View commit details
Copy full SHA for 68bc511
View code at this point
Browse repository at this point
Commits on Dec 11, 2020
patch: add owner accessor
hackhaslam
authored and
KOLANICH
committed
58d757b
View commit details
Copy full SHA for 58d757b
View code at this point
Browse repository at this point
Commits on Jul 10, 2017
patch_generate: represent buffers as void pointers
Show description for 9093ced
pks-t
committed
9093ced
View commit details
Copy full SHA for 9093ced
View code at this point
Browse repository at this point
Commits on Oct 15, 2016
patch: minor documentation fix.
Show description for 6d8ecf0
vivaladav
committed
6d8ecf0
View commit details
Copy full SHA for 6d8ecf0
View code at this point
Browse repository at this point
Commits on Feb 3, 2015
diff docs: update `git_diff_delta` description
Edward Thomson
committed
3538f8f
View commit details
Copy full SHA for 3538f8f
View code at this point
Browse repository at this point
Commits on Apr 11, 2014
Fix const-correctness of git_patch_get_delta, git_patch_num_hunks, git_patch_num_lines_in_hunk
jacquesg
committed
7a28f26
View commit details
Copy full SHA for 7a28f26
View code at this point
Browse repository at this point
Commits on Feb 27, 2014
Add buffer to buffer diff and patch APIs
Show description for 6789b7a
arrbee
committed
6789b7a
View commit details
Copy full SHA for 6789b7a
View code at this point
Browse repository at this point
Commits on Jan 22, 2014
Drop git_patch_to_str
Show description for c05cd79
isilkor
committed
c05cd79
View commit details
Copy full SHA for c05cd79
View code at this point
Browse repository at this point
Expose patch serialization to git_buf
Show description for 450e8e9
isilkor
committed
450e8e9
View commit details
Copy full SHA for 450e8e9
View code at this point
Browse repository at this point
Commits on Dec 11, 2013
Update docs for new callback return value behavior
arrbee
committed
373cf6a
View commit details
Copy full SHA for 373cf6a
View code at this point
Browse repository at this point
Commits on Oct 21, 2013
Create git_diff_line and extend git_diff_hunk
Show description for 3b5f795
arrbee
committed
3b5f795
View commit details
Copy full SHA for 3b5f795
View code at this point
Browse repository at this point
Commits on Oct 15, 2013
Diff API cleanup
Show description for 10672e3
arrbee
committed
10672e3
View commit details
Copy full SHA for 10672e3
View code at this point
Browse repository at this point
Commits on Oct 11, 2013
Rename diff objects and split patch.h
Show description for 3ff1d12
arrbee
committed
3ff1d12
View commit details
Copy full SHA for 3ff1d12
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.