built-in add -i: prepare for multi-selection commands
authorJohannes Schindelin <redacted>
Fri, 29 Nov 2019 21:11:43 +0000 (21:11 +0000)
committerJunio C Hamano <redacted>
Sun, 1 Dec 2019 15:30:54 +0000 (07:30 -0800)
commitf37c22645408540cb03018f82a95fcd6ae6e4fbf
tree3570fbc3da0a97aade72508a63f10052d71b02ba
parentc08171d156f6f77bdab6500f0b433b650a31ccae
built-in add -i: prepare for multi-selection commands

The `update`, `revert` and `add-untracked` commands allow selecting
multiple entries. Let's extend the `list_and_choose()` function to
accommodate those use cases.

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