]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/add.c
built-in add -p: implement the "worktree" patch modes
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 21 Dec 2019 21:57:15 +0000 (21:57 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Dec 2019 00:06:22 +0000 (16:06 -0800)
commitcee6cb7300354740ff765c74d535ba5d5f9b332e
tree5b7f8beacf5976aca5ab24327a39ea8081e7955c
parent52628f94fc35f57f0b3c54e4f849e490bfa44449
built-in add -p: implement the "worktree" patch modes

This is a straight-forward port of 2f0896ec3ad4 (restore: support
--patch, 2019-04-25) which added support for `git restore -p`.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-interactive.h
add-patch.c
builtin/add.c