From: Alejandro Colomar Date: Sun, 8 Feb 2026 18:38:56 +0000 (+0100) Subject: CONTRIBUTING.d/git: alias.ref, alias.ref2: Simplify coloring X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb342315dc8854dd461e8b4c32d8500c2aac2da;p=thirdparty%2Fman-pages.git CONTRIBUTING.d/git: alias.ref, alias.ref2: Simplify coloring Coloring should be automatic, and controlled globally with color.diff. Link: Signed-off-by: Alejandro Colomar --- diff --git a/CONTRIBUTING.d/git b/CONTRIBUTING.d/git index 3b301c7f4..d6f00e91c 100644 --- a/CONTRIBUTING.d/git +++ b/CONTRIBUTING.d/git @@ -48,9 +48,9 @@ Description useful. $ git config --global alias.ref \ - "show -s --abbrev=12 --date=short --format=tformat:'%C(auto)%h%C(reset) %C(dim white)(%cd%x3B \"%C(reset)%C(auto)%s%C(reset)%C(dim white)\")%C(reset)'" + "show -s --abbrev=12 --date=short --format=tformat:'%C(auto)%h (%cd%x3B \"%s\")%C(reset)'" $ git config --global alias.ref2 \ - "show -s --abbrev=12 --date=short --format=tformat:'%C(auto)%h%C(reset) %C(dim white)(%ad, %cd%x3B \"%C(reset)%C(auto)%s%C(reset)%C(dim white)\")%C(reset)'" + "show -s --abbrev=12 --date=short --format=tformat:'%C(auto)%h (%ad, %cd%x3B \"%s\")%C(reset)'" See also git-config(1)