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
Jeff King <peff@peff.net>
Date
Apr 22, 2009, 19:14 UTC
Message-ID
<20090422191439.GA13646@coredump.intra.peff.net>
In-Reply-To
<ADA21A9C-96E3-4441-B925-5B623433F42E@petdance.com>
On Wed, Apr 22, 2009 at 02:13:28PM -0500, Andy Lester wrote:
Show 8 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.
That makes sense. Thanks.
-Peff
Previous: Andy Lester
Message 7 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.