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

Re: Extra blank lines in "git status" output have been reduced

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 17, 2021, 19:38 UTC
Message-ID
<xmqqo8fhtvst.fsf@gitster.g>
In-Reply-To
<CAF8W_bFzE8strSWc0_eABdyfCxA+0CA6ph_uXgSyT7YRU-jO6A@mail.gmail.com>
Pete Boere <pete@duel.me> writes:
Show 5 quoted lines
> With the release of v2.23 I have noticed from the commit:
> 7b098429355bb3271f9ffdf73b97f2ef82794fea
> ...
> Is there any chance of adding them back? The changed layout has been
> throwing me off ever since upgrading.

Sorry, but it is way too late to complain, generally after a change hits a release, and especially after it got buried under 8 new major releases. Unless a change was an unintended side-effect that we did not mean to make, in which case we would likely to fix it as a bug.

And the change in question b2f5171e (status: remove the empty line after hints, 2019-06-04) quite deliberately targets at removing these extra lines [*], so no, I do not think it is reasonable to expect reverting that commit that is more than a year old.

You may want to join the list discussion and stop whatever UI change you find undesirable before it materializes next time.

[Reference]
commit b2f5171ecc2feb4192acd80f5a6b05c06e099e97
Author: John Lin <johnlinp@gmail.com>
Date:   Tue Jun 4 07:02:21 2019 -0700
    status: remove the empty line after hints
    
    Before this patch, there is inconsistency between the status
    messages with hints and the ones without hints: there is an
    empty line between the title and the file list if hints are
    presented, but there isn't one if there are no hints.
    
    This patch remove the inconsistency by removing the empty
    lines even if hints are presented.
Previous: Pete BoereNext: Jeff King
Message 2 of 4 in “Re: Extra blank lines in "git status" output have been reduced”
  1. Pete BoereMar 17, 2021
  2. Junio C HamanoMar 17, 2021
  3. Jeff KingMar 17, 2021
  4. Junio C HamanoMar 17, 2021

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.