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

Re: Git global usage and tests

From
Junio C Hamano <gitster@pobox.com>
Date
May 31, 2011, 05:19 UTC
Message-ID
<7v7h97la4s.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110530161230.GA25291@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 15 quoted lines
> On Mon, May 30, 2011 at 06:10:20PM +0200, Romain Geissler wrote:
>
>> > Have you considered pulling the parse-options parser from git into
>> > libgit2? It's one of the more modularized and lib-ified bits of code in
>> > git already.
>> 
>> Yes and No. We have already copied some code from git : parse-option,
>> the error handling functions, a part of the run-command block and a
>> part of the compatibility layer. To my mind, there is no reason to
>> pull it into libgit2 as it's only a client feature that works on
>> strings, and libgit2 does not aim at being a client, only a git
>> library.
>
> Yeah, good point. Definitely it should not be part of the libgit2
> library itself.

IIRC, libgit2 has a lot looser license than ours, and the core GPLv2 part of C git cannot be directly copied without authors' consent; relicensing of necessary parts of C git needs to be arranged.

Previous: Carlos Martín NietoNext: Ævar Arnfjörð Bjarmason
Message 7 of 9 in “Git global usage and tests”
  1. Romain GeisslerMay 30, 2011
  2. Jeff KingMay 30, 2011
  3. Romain GeisslerMay 30, 2011
  4. Jeff KingMay 30, 2011
  5. Miles BaderMay 31, 2011
  6. Carlos Martín NietoMay 31, 2011
  7. Junio C HamanoMay 31, 2011
  8. Ævar Arnfjörð BjarmasonMay 31, 2011
  9. Jeff KingMay 31, 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.