]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/config-get-color-fixes' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 25 Sep 2025 20:18:48 +0000 (13:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Sep 2025 20:18:49 +0000 (13:18 -0700)
The use of "git config get" command to learn how ANSI color
sequence is for a particular type, e.g., "git config get
--type=color --default=reset no.such.thing", isn't very ergonomic.

* ps/config-get-color-fixes:
  builtin/config: do not spawn pager when printing color codes
  builtin/config: special-case retrieving colors without a key
  builtin/config: do not die in `get_color()`
  t1300: small style fixups
  t1300: write test expectations in the test's body

1  2 
builtin/config.c

Simple merge