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

Re: Removing duplicated code between builtin-send-pack.c and transport.c

From
Andy Lester <andy@petdance.com>
Date
Apr 22, 2009, 19:13 UTC
Message-ID
<ADA21A9C-96E3-4441-B925-5B623433F42E@petdance.com>
In-Reply-To
<20090422191044.GC13424@coredump.intra.peff.net>
On Apr 22, 2009, at 2:10 PM, Jeff King wrote:
Show 7 quoted lines
> I don't know if that is quite appropriate. I think the point of moving
> many of the duplicated functions into transport.c is that they are  
> used
> by other transports, like http. So probably the transport-agnostic  
> ones
> should stay in transport.c, and they should all get called in the same
> way, no matter what the transport.

My mistake. I'll remove the code from builtin-send-pack.c, improve it, and builtin-send-pack.c can get deprecated when/if anyone wants.

-- Andy Lester => andy@petdance.com => www.theworkinggeek.com => AIM:petdance

Previous: Jeff KingNext: Jeff King
Message 6 of 7 in “Removing duplicated code between builtin-send-pack.c and transport.c”
  1. Andy LesterApr 22, 2009
  2. Daniel BarkalowApr 22, 2009
  3. Jeff KingApr 22, 2009
  4. Andy LesterApr 22, 2009
  5. Jeff KingApr 22, 2009
  6. Andy LesterApr 22, 2009
  7. Jeff KingApr 22, 2009

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.