Merge branch 'js/add-i-color-fix'
authorJunio C Hamano <gitster@pobox.com>
Tue, 8 Dec 2020 23:11:17 +0000 (15:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Dec 2020 23:11:17 +0000 (15:11 -0800)
commite0d25686e33396621c484ce5c936c9e49874d8d8
tree3a18723640a4745de6200ffc6808ac910cb553c8
parent2aeafbc8967078b5b3804e03d48cc4d22fa045ca
parent96386faa03d5a714122b4a39e7257d278e232469
Merge branch 'js/add-i-color-fix'

"git add -i" failed to honor custom colors configured to show
patches, which has been corrected.

* js/add-i-color-fix:
  add -i: verify in the tests that colors can be overridden
  add -p: prefer color.diff.context over color.diff.plain
  add -i (Perl version): color header to match the C version
  add -i (built-in): use the same indentation as the Perl version
  add -p (built-in): do not color the progress indicator separately
  add -i (built-in): use correct names to load color.diff.* config
  add -i (built-in): prevent the `reset` "color" from being configured
  add -i: use `reset_color` consistently
  add -p (built-in): imitate `xdl_format_hunk_hdr()` generating hunk headers
  add -i (built-in): send error messages to stderr
  add -i (built-in): do show an error message for incorrect inputs
add-interactive.c
add-patch.c
git-add--interactive.perl