]> git.99rst.org Git - git.git/commit
add --interactive: allow `update` to stage deleted files
authorJohannes Schindelin <redacted>
Tue, 28 Jun 2022 22:22:44 +0000 (22:22 +0000)
committerJunio C Hamano <redacted>
Tue, 28 Jun 2022 22:37:50 +0000 (15:37 -0700)
commit4788e8b25692a8ae1a005554d3ad12f8ee4ee29e
tree3d2ba891cef3da768888cbc8b1d2001beef9a2fc
parent3beff388b2accbc474383d38ef12d4fe31152abc
add --interactive: allow `update` to stage deleted files

The scripted version of `git add -i` used `git update-index --add
--remove`, but the built-in version implemented only the `--add` part.

This fixes https://github.com/msys2/MSYS2-packages/issues/3066

Reported-by: Christoph Reiter <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
add-interactive.c
t/t3701-add-interactive.sh
git clone https://git.99rst.org/PROJECT