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 }}
gitgitgadget
git
Repository navigation
Code
Issues
74
(74)
Pull requests
273
(273)
Actions
Security and quality
Insights
More
items
Implement the
git add --patch
backend in C
- #173
#173
Closed
dscho
wants to merge 19 commits into
gitgitgadget:js/add-i-a-bit-more-tests
gitgitgadget/git:js/add-i-a-bit-more-tests
from
dscho:add-p-in-c
dscho/git:add-p-in-c
Copy head branch name to clipboard
Conversation
Commits
19
(19)
Checks
Files changed
Closed
Implement the
git add --patch
backend in C
#173
dscho
wants to merge 19 commits into
gitgitgadget:js/add-i-a-bit-more-tests
gitgitgadget/git:js/add-i-a-bit-more-tests
from
dscho:add-p-in-c
dscho/git:add-p-in-c
Copy head branch name to clipboard
Commits
Commits on Dec 11, 2019
built-in add -i: start implementing the `patch` functionality in C
Show description for 63b571f
dscho
committed
63b571f
View commit details
Copy full SHA for 63b571f
Browse repository at this point
built-in add -i: wire up the new C code for the `patch` command
Show description for 03feb2f
dscho
committed
03feb2f
View commit details
Copy full SHA for 03feb2f
Browse repository at this point
built-in add -p: show colored hunks by default
Show description for 438e651
dscho
committed
438e651
View commit details
Copy full SHA for 438e651
Browse repository at this point
built-in add -p: adjust hunk headers as needed
Show description for ab94f43
dscho
committed
ab94f43
View commit details
Copy full SHA for ab94f43
Browse repository at this point
built-in add -p: color the prompt and the help text
Show description for 7d3a59d
dscho
committed
7d3a59d
View commit details
Copy full SHA for 7d3a59d
Browse repository at this point
built-in add -p: offer a helpful error message when hunk navigation failed
Show description for 9ef0db2
dscho
committed
9ef0db2
View commit details
Copy full SHA for 9ef0db2
Browse repository at this point
built-in add -p: support multi-file diffs
Show description for 0cd1522
dscho
committed
0cd1522
View commit details
Copy full SHA for 0cd1522
Browse repository at this point
built-in add -p: handle deleted empty files
Show description for 5566043
dscho
committed
5566043
View commit details
Copy full SHA for 5566043
Browse repository at this point
Commits on Dec 12, 2019
built-in app -p: allow selecting a mode change as a "hunk"
Show description for a3624d7
dscho
committed
a3624d7
View commit details
Copy full SHA for a3624d7
Browse repository at this point
built-in add -p: show different prompts for mode changes and deletions
Show description for 8d58889
dscho
committed
8d58889
View commit details
Copy full SHA for 8d58889
Browse repository at this point
built-in add -p: implement the hunk splitting feature
Show description for 2cd9855
dscho
committed
2cd9855
View commit details
Copy full SHA for 2cd9855
Browse repository at this point
built-in add -p: coalesce hunks after splitting them
Show description for da950fd
dscho
committed
da950fd
View commit details
Copy full SHA for da950fd
Browse repository at this point
strbuf: add a helper function to call the editor "on an strbuf"
Show description for 18c008f
dscho
committed
18c008f
View commit details
Copy full SHA for 18c008f
Browse repository at this point
built-in add -p: implement hunk editing
Show description for 1e23fcd
dscho
committed
1e23fcd
View commit details
Copy full SHA for 1e23fcd
Browse repository at this point
built-in add -p: implement the 'g' ("goto") command
Show description for 9a2cf7e
dscho
committed
9a2cf7e
View commit details
Copy full SHA for 9a2cf7e
Browse repository at this point
built-in add -p: implement the '/' ("search regex") command
Show description for e7d2187
dscho
committed
e7d2187
View commit details
Copy full SHA for e7d2187
Browse repository at this point
built-in add -p: implement the 'q' ("quit") command
Show description for 6c33fbb
dscho
committed
6c33fbb
View commit details
Copy full SHA for 6c33fbb
Browse repository at this point
built-in add -p: only show the applicable parts of the help text
Show description for 0c95067
dscho
committed
0c95067
View commit details
Copy full SHA for 0c95067
Browse repository at this point
built-in add -p: show helpful hint when nothing can be staged
Show description for a5bbd28
dscho
committed
a5bbd28
View commit details
Copy full SHA for a5bbd28
Browse repository at this point
You can’t perform that action at this time.