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

Re: using git directory cache code in darcs?

From
Junio C Hamano <junkio@cox.net>
Date
Apr 16, 2005, 14:28 UTC
Message-ID
<7vacny94pb.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050416132231.GJ2551@abridgegame.org>
>>>>> "DR" == David Roundy <droundy@abridgegame.org> writes:
DR> 1) Would this actually be a good idea?

I think it is sensible, especially if you are doing a lot of comparison between the working area and the pristine.

DR> 3) Is it likely that git will switch to not using global DR> variables for active_cache, active_nr and active_alloc?

DR> 4) Would there be interest in creating a libgit?

These are related. I have seen some people interested in libifying it, and encapsulating those globals would naturally fall out of it. My impression from the list however is that a lot more people are interested in the upper SCM layer than the git layer right now. And git layer, although solid enough to host itself, is still slushy. A couple of days ago dircache format was changed from host to network endian. Last night Linus made another change to dircache format, which fortunately is upward compatible if you stay within pathnames shorter than 2^12 bytes ;-). Another problem I see for somebody to pick up and start libifying things right now is that, although there is one central person on the SCM side (Petr Baudis), git layer is still fractured between Linus and Petr.

Petr syncs with Linus often and he seems to be doing a good job at keeping track of public patches, but the git layer Linus works on does not have some patches Petr collected or wrote himself. In time, a better coordination would emerge, of course, but the project is still young at this moment. Stay tuned ;-).

Previous: Ingo MolnarNext: Linus Torvalds
Message 3 of 14 in “using git directory cache code in darcs?”
  1. David RoundyApr 16, 2005
  2. Ingo MolnarApr 16, 2005
  3. Junio C HamanoApr 16, 2005
  4. Linus TorvaldsApr 16, 2005
  5. David RoundyApr 17, 2005
  6. Linus TorvaldsApr 17, 2005
  7. Mike TahtApr 17, 2005
  8. Nomad ArtonApr 17, 2005
  9. Junio C HamanoApr 17, 2005
  10. Paul JacksonApr 18, 2005
  11. Paul JacksonApr 18, 2005
  12. Linus TorvaldsApr 18, 2005
  13. Paul JacksonApr 18, 2005
  14. git optionsMike Taht, Apr 18, 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.