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)?