Re: Subject: [PATCH 2/3] Let git-add--interactive read colors from .gitconfig
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 11, 2007, 10:34 UTC
- Message-ID
- <7vabplf4ug.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7vve89f6qy.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
> Makes me wonder if you are better off with two new helper
> functions defined in Git.pm, as in:
>
> $prompt_color = $repo->config_color("interactive.prompt") || "bold blue")
> $normal_color = Git::color_to_ansi_code("normal");Sorry, but please disregard. "bold blue" part was also parameter to the string-to-ansi-color-escape function, so the above does not make much sense.