]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/config-get-color-fixes'
authorJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 19:26:12 +0000 (12:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 2 Oct 2025 19:26:12 +0000 (12:26 -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