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

Re: [PATCH] libgit

From
BRBrad Roberts <braddr@puremagic.com>
Date
Apr 17, 2005, 07:30 UTC
Message-ID
<Pine.LNX.4.44.0504170027500.2625-100000@bellevue.puremagic.com>
Show 9 quoted lines
> Converted git to libgit. Moved all the main() calls into a single
> multi-call binary - git-main.
> Made extern a bunch of functions that were static. Verified it at least
> still minimally worked.
> Note: this is only a first step towards creating a generic library.
> Figuring out what functions and variables *truly* need to be exported,
> renaming them to a git_<function> api, making it thread safe
> ... and not least of all, keeping up with everybody working out of the
> base tree... are problems that remain. Also - cleaning up the UI.

Why do all that static and main rearrangement? It would be a lot simpler and cleaner to simply rename the main's in place and add the new dispatcher by itself.

Later, Brad

Next: Mike Taht
Message 1 of 2 in “Re: [PATCH] libgit”
  1. Brad RobertsApr 17, 2005
  2. Mike TahtApr 17, 2005

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.