built-in add -i: support `?` (prompt help)
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 15 Nov 2019 11:11:18 +0000 (11:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Nov 2019 02:18:30 +0000 (11:18 +0900)
commit68db1cbf8eb412e81ff84b18f6c2ab8d15df99c7
treea6826032138e08aa93f741c876c14dc253891626
parent76b743234c6d122d9e194556f6f94f61493094f6
built-in add -i: support `?` (prompt help)

With this change, we print out the same colored help text that the
Perl-based `git add -i` prints in the main loop when question mark is
entered.

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