]> git.ipfire.org Git - thirdparty/git.git/commit - git-add--interactive.perl
restore: support --patch
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 25 Apr 2019 09:45:54 +0000 (16:45 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 May 2019 04:04:47 +0000 (13:04 +0900)
commit2f0896ec3ad4731d970d22f61daf62046bc766a9
treeadea2c00ca3ed4a2704b97bbac131f7a22641636
parenta5e5f399ca89cea574d11704d625a7b28b53de76
restore: support --patch

git-restore is different from git-checkout that it only restores the
worktree by default, not both worktree and index. add--interactive
needs some update to support this mode.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
git-add--interactive.perl