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

[PATCH 0/2] pkt-line.[ch]: dead code removal

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 14, 2021, 20:15 UTC
Message-ID
<cover-0.2-00000000000-20211014T201317Z-avarab@gmail.com>

Remove some dead code in pkt-line.[ch], perhaps someone has an objection to 2/2 as we could keep that function variant around "just in case", but it's trivial to use the underlying function (or re-add this utility), so shedding the unused code seems better.

Ævar Arnfjörð Bjarmason (2):
  pkt-line.[ch]: remove unused packet_buf_write_len()
  pkt-line.[ch]: remove unused packet_read_line_buf()
 builtin/checkout--worker.c |  4 ++--
 daemon.c                   |  2 +-
 parallel-checkout.c        |  3 +--
 pkt-line.c                 | 45 ++++++--------------------------------
 pkt-line.h                 | 10 +--------
 remote-curl.c              |  2 +-
 6 files changed, 13 insertions(+), 53 deletions(-)
-- 
2.33.1.1338.g20da966911a
Next: Ævar Arnfjörð Bjarmason
Message 1 of 4 in “pkt-line.[ch]: dead code removal”
  1. 0/2 pkt-line.[ch]: dead code removalÆvar Arnfjörð Bjarmason, Oct 14, 2021
  2. 1/2 pkt-line.[ch]: remove unused packet_buf_write_len()Ævar Arnfjörð Bjarmason, Oct 14, 2021
  3. 2/2 pkt-line.[ch]: remove unused packet_read_line_buf()Ævar Arnfjörð Bjarmason, Oct 14, 2021
  4. Jeff KingOct 21, 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.