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

Re: What's cooking in git.git (Jan 2016, #02; Mon, 11)

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 12, 2016, 18:47 UTC
Message-ID
<xmqqtwmitz2a.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<alpine.DEB.2.20.1601120939270.2964@virtualbox>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
>>  Rerolled.
>>  Needs review.
>
> Actually, it waits for a re-roll ;-)
True.

I think strbuf_getline() that handles the payload as "text" without having _crlf() suffix is an ideal endgame in the longer term, but I do not think it is a good idea to do that as a flag-day change. So I am inclined not to change the function names around that feature in this series. Others can do the wholesale rename as a separate follow-up topic when the tree is quiescent.

The other point "We prepared to be able to use line termination other than LF and NUL, but in practice nobody uses other values, so tighten the interface to clarify that we allow only these two values" you raised is something I think should be done as a preparatory step for this series, as the correctness of the series depends heavily on that assumption that nobody ever uses any other value than LF or NUL. I am looking at it but haven't published any progress yet.

Thanks.
Previous: Johannes SchindelinNext: Jeff King
Message 6 of 19 in “What's cooking in git.git (Jan 2016, #02; Mon, 11)”
  1. Junio C HamanoJan 11, 2016
  2. Mike HommeyJan 12, 2016
  3. Junio C HamanoJan 12, 2016
  4. Edmundo Carmona AntoranzJan 12, 2016
  5. Johannes SchindelinJan 12, 2016
  6. Junio C HamanoJan 12, 2016
  7. Jeff KingJan 12, 2016
  8. Junio C HamanoJan 13, 2016
  9. Jeff KingJan 13, 2016
  10. Junio C HamanoJan 13, 2016
  11. Junio C HamanoJan 13, 2016
  12. Jeff KingJan 14, 2016
  13. David A. GreeneJan 13, 2016
  14. Michael J GruberJan 18, 2016
  15. Jeff KingJan 18, 2016
  16. Eric WongJan 18, 2016
  17. Michael J GruberJan 19, 2016
  18. Duy NguyenJan 25, 2016
  19. Junio C HamanoJan 25, 2016

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.