]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/config.txt
doc: refactor description of color format
authorJeff King <peff@peff.net>
Thu, 23 Jun 2016 17:32:30 +0000 (13:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Jun 2016 18:32:51 +0000 (11:32 -0700)
commitadb3356664fbf15646fd90eb1d5ddd9e66ce913f
tree8237b0ec3d9b7a12160e2e1a0c52f2957db8c83d
parent0111681ecfe4d04a354536e62af1cde7c49e1c40
doc: refactor description of color format

This is a general cleanup of the description of colors in
git-config, mostly to address inaccuracies and confusion
that had grown over time:

  - you can have many attributes, not just one

  - the discussion flip-flopped between colors and
    attributes; now we discuss everything about colors, then
    everything about attributes

  - many concepts were lumped into the first paragraph,
    making it hard to read, and especially to find the
    actual lists of colors and attributes. I stopped short
    of breaking those out into their own lists, as it seemed
    like an excessive use of vertical screen real estate.

  - we introduced negated attributes, but then the next
    paragraph basically explains how each item starts off
    with no attributes. So why would one need negated
    attributes? We now explain.

  - minor typo, language, and typography fixes

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt