On Tue, Mar 4, 2008 at 9:50 AM, Nguyen Thai Ngoc Duy <[EMAIL PROTECTED]> wrote:
> On Mon, Mar 3, 2008 at 4:44 AM, Peter Harris <[EMAIL PROTECTED]> wrote:
>  >
>  >  I got tired of seeing control codes appear on my console. Rather than
>  >  turn off colours, I decided to fix them instead.
>
>  I wonder if this can be a separate git command and make it default
>  pager for Windows environment? I'm thinking about its use outside
>  C-based commands, perharps shell scripts or perl scripts..

I suppose you could turn it into "git color-cat", or, since it would
be entirely unrelated at that point, just "color-cat".

I would be very much against it being made the default pager, though,
since it doesn't page at all. Worse, I wrote that code to catch the
un$PAGERed output of git (git pull, git merge). So removing this from
the git core and putting it into a pager would defeat the purpose.

On a somewhat related note, the latest release of 'less' claims to
support some sort of "color escape sequences". I haven't been able to
make it work yet, though.

Peter Harris

Reply via email to