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

Re: [PATCH] sideband: color lines with keyword only

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 3, 2018, 23:42 UTC
Message-ID
<20181203234257.GC157301@google.com>
In-Reply-To
<CAGZ79kY0w7Zt0Z4KNu7qL4Lz8fFpv2p51D-w_MgZBYPqPFbZKw@mail.gmail.com>
Stefan Beller wrote:
> On Mon, Dec 3, 2018 at 3:23 PM Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 10 quoted lines
>> I was curious about what versions of Gerrit this is designed to
>> support (or in other words whether it's a bug fix or a feature).
>> Looking at examples like [1], it seems that Gerrit historically always
>> used "ERROR:" so the 59a255aef0 logic would work for it.  More
>> recently, [2] (ReceiveCommits: add a "SUCCESS" marker for successful
>> change updates, 2018-08-21) put SUCCESS on a line of its own.  That
>> puts this squarely in the new-feature category.
>
> Ooops. From the internal bug, I assumed this to be long standing Gerrit
> behavior, which is why I sent it out in -rc to begin with.

No worries. Can't hurt for Junio to have a few patches to apply to "pu" or "next" to practice using the release candidates. :)

[...]
Show 7 quoted lines
>> In the old code, we would escape early if 'n == len', but we didn't
>> need to.  If 'n == len', then
>>
>>         src[len] == '\0'
>
> src[len] could also be one of "\n\r", see the caller
> recv_sideband for sidebase case 2.
Yes, I noticed too late[*].  Sorry for the noise.
The patch still looks good.
Jonathan
[*] https://public-inbox.org/git/20181203233439.GB157301@google.com/
Previous: Stefan BellerNext: Junio C Hamano
Message 5 of 7 in “sideband: color lines with keyword only”
  1. sideband: color lines with keyword onlyStefan Beller, Dec 3, 2018
  2. Jonathan NiederDec 3, 2018
  3. Jonathan NiederDec 3, 2018
  4. Stefan BellerDec 3, 2018
  5. Jonathan NiederDec 3, 2018
  6. Junio C HamanoDec 4, 2018
  7. Han-Wen NienhuysDec 10, 2018

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.