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

Re: [PATCH 2/2] Move all builtin .c files into builtin/

From
PRPavel Roskin <proski@gnu.org>
Date
Jul 10, 2006, 06:41 UTC
Message-ID
<1152513679.3504.47.camel@dv>
In-Reply-To
<11525072491512-git-send-email-ryan@michonline.com>
Hello, Ryan!
On Mon, 2006-07-10 at 00:54 -0400, Ryan Anderson wrote:
> Signed-off-by: Ryan Anderson <ryan@michonline.com>

I agree that the top level directory is overcrowded, but wouldn't it be better to move libgit.a sources to "lib" and then classify the remaining files in some way (e.g. "git" or "src" for builtin commands, "commands" for the rest)? While at that, the "buildin-" prefix could be stripped.

The main "git" executable is nothing but several builtin commands rolled together. It's not like a shell, which has functionality beyond the builtin commands. So "builtin" is git.

Or you can say that the git executable is a command line frontend to the git library (it's moving in this direction anyway). Then you can have "client" and "server" directories. That's more important for understanding the source than "builtin", "standalone" or any classification based on technical details.

-- 
Regards,
Pavel Roskin
Previous: Ryan Anderson
Message 4 of 4 in “Clean up root directory”
  1. 0/2 Clean up root directoryRyan Anderson, Jul 10, 2006
  2. 1/2 Move SCM interoperability tools into interop/Ryan Anderson, Jul 10, 2006
  3. 2/2 Move all builtin .c files into builtin/Ryan Anderson, Jul 10, 2006
  4. Pavel RoskinJul 10, 2006

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.