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

[PATCH v3 0/3] Sideband demultiplexer fixes

From
Jiang Xin <worldhello.net@gmail.com>
Date
Oct 4, 2023, 13:18 UTC
Message-ID
<cover.1696425168.git.zhiyou.jx@alibaba-inc.com>
In-Reply-To
<ZRKax7Me5uIHKHoC@ugly>
From: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Sideband demultiplexer fixes.
Range-diff v2...v3
1:  fd6d61893d ! 1:  68ac3ea711 pkt-line: do not chomp newlines for sideband messages
    @@ Commit message
         to prevent mangling newline characters in sideband messages.
     
         Helped-by: Jonathan Tan <jonathantanmy@google.com>
    +    Helped-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
         Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
     
      ## pkt-line.c ##
    @@ pkt-line.c: enum packet_read_status packet_read_with_status(int fd, char **src_b
     +				len--;
     +				break;
     +			case 2:
    -+				/* fallthrough */
     +			case 3:
     +				/*
     +				 * Do not chomp newline for progress and error
---
Jiang Xin (3):
  test-pkt-line: add option parser for unpack-sideband
  pkt-line: memorize sideband fragment in reader
  pkt-line: do not chomp newlines for sideband messages
 pkt-line.c               | 36 +++++++++++++++++++++----
 pkt-line.h               |  4 +++
 t/helper/test-pkt-line.c | 58 ++++++++++++++++++++++++++++++++++++----
 t/t0070-fundamental.sh   | 58 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 146 insertions(+), 10 deletions(-)
-- 
2.40.1.50.gf560bcc116.dirty
Previous: Junio C HamanoNext: Jiang Xin
Message 12 of 19 in “pkt-line: do not chomp EOL for sideband progress info”
  1. pkt-line: do not chomp EOL for sideband progress infoJiang Xin, Sep 19, 2023
  2. Junio C HamanoSep 19, 2023
  3. Jonathan TanSep 20, 2023
  4. Jiang XinSep 25, 2023
  5. 1/3 test-pkt-line: add option parser for unpack-sidebandJiang Xin, Sep 25, 2023
  6. 2/3 pkt-line: memorize sideband fragment in readerJiang Xin, Sep 25, 2023
  7. 3/3 pkt-line: do not chomp newlines for sideband messagesJiang Xin, Sep 25, 2023
  8. Junio C HamanoSep 25, 2023
  9. Oswald BuddenhagenSep 26, 2023
  10. Jiang XinOct 4, 2023
  11. Junio C HamanoOct 4, 2023
  12. 0/3 Sideband demultiplexer fixesJiang Xin, Oct 4, 2023
  13. 2/3 pkt-line: memorize sideband fragment in readerJiang Xin, Oct 4, 2023
  14. 1/3 test-pkt-line: add option parser for unpack-sidebandJiang Xin, Oct 4, 2023
  15. 3/3 pkt-line: do not chomp newlines for sideband messagesJiang Xin, Oct 4, 2023
  16. 0/3 Sideband-all demultiplexer fixesJiang Xin, Dec 17, 2023
  17. 1/3 test-pkt-line: add option parser for unpack-sidebandJiang Xin, Dec 17, 2023
  18. 2/3 pkt-line: memorize sideband fragment in readerJiang Xin, Dec 17, 2023
  19. 3/3 pkt-line: do not chomp newlines for sideband messagesJiang Xin, Dec 17, 2023

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.