]> git.ipfire.org Git - thirdparty/git.git/commit
git config doc: fix recent ASCIIDOC formatting regression
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 19 Oct 2021 12:31:34 +0000 (14:31 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Oct 2021 17:55:09 +0000 (10:55 -0700)
commit8464b2d1d86b4e0c657e1da8b240a675cb68d6d7
tree7ecc47b008fe2abfec2a19cfbd85aa6ee272e657
parent8c3285613322f5b08c8a2320030f4e74b5032998
git config doc: fix recent ASCIIDOC formatting regression

Fix a regression in 8c328561332 (blame: document --color-* options,
2021-10-08), which added an extra newline before the "+" syntax.

The "Documentation/doc-diff HEAD~ HEAD" output with this applied is:

    [...]
    @@ -1815,13 +1815,13 @@ CONFIGURATION FILE
                specified colors if the line was introduced before the given
                timestamp, overwriting older timestamped colors.

    -       + Instead of an absolute timestamp relative timestamps work as well,
    -       e.g. 2.weeks.ago is valid to address anything older than 2 weeks.
    +           Instead of an absolute timestamp relative timestamps work as well,
    +           e.g.  2.weeks.ago is valid to address anything older than 2 weeks.

    -       + It defaults to blue,12 month ago,white,1 month ago,red, which colors
    -       everything older than one year blue, recent changes between one month
    -       and one year old are kept white, and lines introduced within the last
    -       month are colored red.
    +           It defaults to blue,12 month ago,white,1 month ago,red, which
    +           colors everything older than one year blue, recent changes between
    +           one month and one year old are kept white, and lines introduced
    +           within the last month are colored red.

            color.blame.repeatedLines
                Use the specified color to colorize line annotations for git blame

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/color.txt