]> git.ipfire.org Git - thirdparty/git.git/commit - add-interactive.c
built-in add -i: color the header in the `status` command
authorSlavica Đukić <slawica92@hotmail.com>
Wed, 13 Nov 2019 12:41:00 +0000 (12:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Nov 2019 02:10:04 +0000 (11:10 +0900)
commit1daaebcaa55b43198f3e91135e738fc9e06ec549
treec1829a6b1e11d234789be37d1d9b5070de6ee5ce
parent5e82b9e4d2bac376a817b2b48849ec061c137e49
built-in add -i: color the header in the `status` command

For simplicity, we only implemented the `status` command without colors.
This patch starts adding color, matching what the Perl script
`git-add--interactive.perl` does.

Original-Patch-By: Daniel Ferreira <bnmvco@gmail.com>
Signed-off-by: Slavica Đukić <slawica92@hotmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-interactive.c