On Tue, Mar 4, 2008 Johannes Schindelin wrote:
>
>  On Tue, 4 Mar 2008, Peter Harris wrote:
>
>  > On Tue, Mar 4, 2008 Johannes Schindelin wrote:
>  > >
>  > >  On Tue, 4 Mar 2008, Johannes Sixt wrote:
>  > >
>  > >  > On Tuesday 04 March 2008 17:05, Johannes Schindelin wrote:
>  > >  > >
>  > >  > > I thought "less" worked already?
>  > >  >
>  > >  > Not so. less on CMD does not show colors. :-(
>  > >
>  > >  Something does not compute here.  I just tried, on Windows XP, in an
>  > >  msysGit window (created by /share/msysGit/add-shortcut.tcl):
>  > >
>  > >         $ git log --color
>  > >
>  > >  and guess what: I saw colour!  Is that something _you_ did?
>  >
>  > We're using cmd, you're using sh.
>  >
>  > >  I thought it was a by-product of using less?
>  >
>  > I suspect it's a by-product of using sh.
>
>  I see.  But then it is funny that non-paged text is not coloured, no?

Yes. Very strange.

It looks like msys-based apps get color if they're running under an
msys shell. It looks like git is compiled as a mingw application, not
an msys application. Given that perl, less, and other parts of the
msysGit distribution are msys-based, does it make sense to link git
with msys?

Peter Harris

Reply via email to