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

Re: libgit2 status

From
NSNicolas Sebrecht <nicolas.s.dev@gmx.fr>
Date
Aug 27, 2012, 21:40 UTC
Message-ID
<20120827214027.GA511@vidovic>
In-Reply-To
<7v6284qfw8.fsf@alter.siamese.dyndns.org>
The 27/08/12, Junio C Hamano wrote:
Show 17 quoted lines
> <dag@cray.com> writes:
> 
> > Junio C Hamano <gitster@pobox.com> writes:
> >
> >>> I would be happy to be a guinea pig for libgit2 in order to improve it,
> >>> but I don't want to significantly impact git-subtree's move to core.
> >>> I'll have to figure out the right balance there given feedback.
> >>
> >> I expect it will take some time for libgit2 to allow our Makefile to
> >> start saying "LDFLAGS += -libgit2"; it will need to become as stable
> >> and widespread as other libraries we depend on, e.g. -lz and -lcurl.
> >
> > Well that's a chicken-and-egg problem, isn't it.  How will a library
> > become widespread unless something uses it?
> 
> That something will not be the git core itself.  Otherwise we will
> lose a stable reference implementation to catch its bugs.

This is exactly what I'm most afraid about. I tend to think it's a chicken-and-egg problem, too.

Do you expect one big merge of a very stable libgit2 at some point? Because, asking others to implement widely used tools on top of libgit2 in order to have it as stable/tested as curl is not going to happen, IMHO.

Otherwise, what about going with this optionnal "LDFLAGS += -libgit2" ASAP with good disclaimer that it's only intended for development and testing purpose? Then, git-core could slowly rely on functions of libgit2, one after the other.

-- 
Nicolas Sebrecht
Previous: dag@cray.comNext: dag@cray.com
Message 14 of 23 in “libgit2 status”
  1. greened@obbligato.orgAug 24, 2012
  2. Andreas EricssonAug 25, 2012
  3. Vicent MartiAug 25, 2012
  4. Nicolas SebrechtAug 25, 2012
  5. Carlos Martín NietoAug 25, 2012
  6. Elia PintoAug 26, 2012
  7. Junio C HamanoAug 26, 2012
  8. Junio C HamanoAug 26, 2012
  9. dag@cray.comAug 27, 2012
  10. Junio C HamanoAug 27, 2012
  11. dag@cray.comAug 27, 2012
  12. Junio C HamanoAug 27, 2012
  13. dag@cray.comAug 27, 2012
  14. Nicolas SebrechtAug 27, 2012
  15. dag@cray.comAug 28, 2012
  16. Junio C HamanoAug 28, 2012
  17. Thiago FarinaOct 19, 2012
  18. Ramkumar RamachandraOct 19, 2012
  19. Junio C HamanoOct 19, 2012
  20. dag@cray.comOct 19, 2012
  21. Junio C HamanoOct 19, 2012
  22. Thiago FarinaOct 20, 2012
  23. Andreas EricssonOct 20, 2012

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.