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

Re: Using libgit2 code in git.git as a Google Summer of Code project?

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 10, 2011, 19:27 UTC
Message-ID
<7vlj0m4vz1.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110310115549.GA31046@elie>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 5 quoted lines
>> I think that right now it would be a quite daunting task to start
>> replacing parts of git.git with libgit2. The architecture changes
>> required would be quite significant, because of the way that git.git
>> and libgit2 are designed (Unix-only, non-reentrant/cross-platform,
>> reentrant)

How big a performance penalty does libgit2 have to pay to depart from many "we run once and let exit take care of cleaning up after us" patterns used in git.git primarily in order to avoid the housekeeping cost?

Previous: Jonathan NiederNext: Vicent Marti
Message 8 of 9 in “Using libgit2 code in git.git as a Google Summer of Code project?”
  1. Jonathan NiederMar 10, 2011
  2. Jonathan NiederMar 10, 2011
  3. Vicent MartiMar 10, 2011
  4. Nguyen Thai Ngoc DuyMar 10, 2011
  5. Vicent MartiMar 10, 2011
  6. Ramkumar RamachandraMar 13, 2011
  7. Jonathan NiederMar 10, 2011
  8. Junio C HamanoMar 10, 2011
  9. Vicent MartiMar 11, 2011

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.