git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 1.8.4 rebase regression?

From
PWPatrick Welche <prlw1@cam.ac.uk>
Date
Sep 17, 2013, 09:13 UTC
Message-ID
<20130917091333.GB289@quark>
In-Reply-To
<vpqioy1815z.fsf@anie.imag.fr>
On Mon, Sep 16, 2013 at 01:18:48PM +0200, Matthieu Moy wrote:
Show 22 quoted lines
> Patrick Welche <prlw1@cam.ac.uk> writes:
> 
> > $ git diff
> > ESC[1mdiff --cc glib/gmain.cESC[m
> > ESC[1mindex 738e69c,5aaebd0..0000000ESC[m
> > ESC[1m--- a/glib/gmain.cESC[m
> > ESC[1m+++ b/glib/gmain.cESC[m
> > ESC[36m@@@ -4953,32 -4921,32 +4953,48 @@@ESC[m ESC[mg_unix_signal_watch_dispatch (GSourcESC[m
> >
> >
> > (same xterm, no change of TERM in both invocations above)
> > git status in 1.8.4 does show red, so colour does work...
> >
> > Thoughts on how to help debug?
> 
> Can you try:
> 
> git -c color.ui=never diff
> git -c color.ui=auto diff
> git -c color.ui=always diff
> 
> ?

Got it: the change between 1.8.3.4 and 1.8.4 is that colour is on by default. If I take 1.8.3.4 and git -c color.ui=always log, I see the same ESC codes => not a regression! I'll just have to sort my box out if I want colour. (The only oddity is that git status is correctly colourful.)

(
> If you have a bit of time, you can use "git bisect" on a clone of
> git.git to find out the guilty commit.
commit e5be297279e8ee8c503eb59da21ab17edc40e748
Merge: a3bc3d0 6897a64

but that is presumably just when the default changed )

Sorry for the confusion - it just looked like a regression to me, but isn't!

Cheers,
Patrick
Previous: Patrick WelcheNext: Matthieu Moy
Message 7 of 10 in “1.8.4 rebase regression?”
  1. Patrick WelcheSep 15, 2013
  2. Matthieu MoySep 16, 2013
  3. Patrick WelcheSep 16, 2013
  4. Matthieu MoySep 16, 2013
  5. Matthieu MoySep 17, 2013
  6. Patrick WelcheSep 17, 2013
  7. Patrick WelcheSep 17, 2013
  8. Matthieu MoySep 17, 2013
  9. Patrick WelcheSep 17, 2013
  10. Matthieu MoySep 17, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.