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

Re: [RFC] Code reorgnization

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 17, 2016, 19:10 UTC
Message-ID
<xmqqy49gzzrf.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<CAGZ79kbcwFcPSJ9xwE6xi4gQ871m3brtfAut2TChGNzL-foxdQ@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 8 quoted lines
> For now I would just go with 3 directories:
>
> non-git/ (or util, helpers, or anything that could be ripped out and be useful
>     e.g. strbufs, argv-array run-command, lockfile
> git/ (maybe called lib? All stuff that is pure Git and is used for libgit
>
> builtin/ (as we have it today + all that stuff that doesn't go into
> git/ very well?)

It is unclear where you want to have standalone programs in the above. I'd say lib/ and src/ for the first two, where lib/ is for things that could be lifted without any Git dependencies and src/ for everything else.

Aren't there some folks who link directly with our codebase (I am thinking about cgit, but hjemli.net/git/cgit does not seem to be responding anymore)?

Previous: Stefan BellerNext: Pranit Bauva
Message 8 of 14 in “[RFC] Code reorgnization”
  1. Duy NguyenMar 17, 2016
  2. Johannes SchindelinMar 17, 2016
  3. Duy NguyenMar 17, 2016
  4. Junio C HamanoMar 17, 2016
  5. Thomas AdamMar 17, 2016
  6. Junio C HamanoMar 17, 2016
  7. Stefan BellerMar 17, 2016
  8. Junio C HamanoMar 17, 2016
  9. Pranit BauvaMar 17, 2016
  10. John KeepingMar 17, 2016
  11. Junio C HamanoMar 17, 2016
  12. Duy NguyenMar 18, 2016
  13. Jeff KingMar 18, 2016
  14. Duy NguyenMar 18, 2016

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.