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

Re: 1.8.4 rebase regression?

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 17, 2013, 10:59 UTC
Message-ID
<vpq1u4n67e9.fsf@anie.imag.fr>
In-Reply-To
<20130917100726.GF289@quark>
Patrick Welche <prlw1@cam.ac.uk> writes:
Show 13 quoted lines
> On Tue, Sep 17, 2013 at 11:23:51AM +0200, Matthieu Moy wrote:
>> Patrick Welche <prlw1@cam.ac.uk> writes:
>> 
>> > 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.)
>> 
>> Maybe you disabled the pager for "git status"?
>
> Interesting: I didn't disable it on purpose, but indeed, it is not
> used for status.

Ah, my bad. Whether the pager should be enabled by default for status led to a lot of debates here, and I thought the conclusion was yes. But I'm the one having it enabled by default:

[pager]
        status = true
Show 6 quoted lines
> Can't believe this:
>
> $ echo $PAGER
> more
>
> unset PAGER, and git diff is fine...

less will be a much better pager than more, indeed. The default behavior of less is sometimes anoying (open full-page, and 'q' restores the terminal, which is very inconvenient for short output), but if you didn't set $LESS, then Git will set it for you to something appropriate for git pager.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Patrick Welche
Message 10 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.