]> git.ipfire.org Git - thirdparty/git.git/commit - add-interactive.c
built-in add -i: implement the `patch` command
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 29 Nov 2019 21:11:47 +0000 (21:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 1 Dec 2019 15:30:54 +0000 (07:30 -0800)
commit8746e07277cb548185a33efa0037c313a06001f8
treebc9637f03f8ca3d79ea48dc57d6925876b41ba3a
parentab1e1cccaf6252e2fb47b1bfbc5bc8d3d678bfe1
built-in add -i: implement the `patch` command

Well, it is not a full implementation yet. In the interest of making
this easy to review (and easy to keep bugs out), we still hand off to
the Perl script to do the actual work.

The `patch` functionality actually makes up for more than half of the
1,800+ lines of `git-add--interactive.perl`. It will be ported from Perl
to C incrementally, later.

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