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

Re: [RFC PATCH] show decorations at the end of the line

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 13, 2017, 08:30 UTC
Message-ID
<xmqq1sv2fq6m.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CA+55aFw2S14a4_4YK0b6PNK4TH_AUo_+2JN+PTyBTufNeB5t6A@mail.gmail.com>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 10 quoted lines
> On Sat, Feb 11, 2017 at 10:02 AM, Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
>>
>> I've signed off on this, because I think it's an "obvious" improvement,
>> but I'm putting the "RFC" in the subject line because this is clearly a
>> subjective thing.
>
> Side note: the one downside of showing the decorations at the end of
> the line is that now they are obviously at the end of the line - and
> thus likely to be more hidden by things like line truncation.

Side note: I refrained from commenting on this patch because everybody knows that the what I would say anyway ;-) and I didn't want to speak first to discourage others from raising their opinion.

An obvious downside is that people (against all recommendations) are likely to have written a loose script expecting the --oneline format is cast in stone. I personally think it is OK to break them as long as "workaround" (aka kosher way to do what they have been doing) is obvious and easily doable, and in this case their script can switch to use --format to keep using the order of fields and format they have been relying on.

It would be nice if we can have that --format string they can use somewhere in the log message, so that I can cut & paste it into the release notes that contains this change (i.e. "those who want to keep using the traditional --oneline --decorate can use this string as pretty.my1line configuration variable and use --pretty=my1line instead").

Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 20 in “show decorations at the end of the line”
  1. show decorations at the end of the lineLinus Torvalds, Feb 11, 2017
  2. Linus TorvaldsFeb 11, 2017
  3. Junio C HamanoFeb 13, 2017
  4. Linus TorvaldsFeb 13, 2017
  5. Junio C HamanoFeb 13, 2017
  6. Jeff KingFeb 13, 2017
  7. Junio C HamanoFeb 14, 2017
  8. Jeff KingFeb 15, 2017
  9. Junio C HamanoFeb 18, 2017
  10. Linus TorvaldsFeb 19, 2017
  11. Jacob KellerFeb 19, 2017
  12. Jeff KingFeb 20, 2017
  13. Junio C HamanoFeb 20, 2017
  14. Linus TorvaldsFeb 20, 2017
  15. Junio C HamanoFeb 21, 2017
  16. Linus TorvaldsFeb 21, 2017
  17. Jeff KingFeb 21, 2017
  18. Junio C HamanoFeb 21, 2017
  19. Jeff KingFeb 21, 2017
  20. Stephan BeyerFeb 14, 2017

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.