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

Re: Darcs-git: a few notes for Git hackers

From
Petr Baudis <pasky@ucw.cz>
Date
May 15, 2005, 11:48 UTC
Message-ID
<20050515114847.GD13024@pasky.ji.cz>
In-Reply-To
<Pine.LNX.4.44.0505141851340.2136-200000@bellevue.puremagic.com>

Dear diary, on Sun, May 15, 2005 at 04:04:25AM CEST, I got a letter where Brad Roberts <braddr@puremagic.com> told me that...

Show 23 quoted lines
> > I wasn't able to finish redoing these against linus tip, but I got most of
> > it done (patches 1-14 of the original 19):
> >
> >   http://gameboy2.puremagic.com:8090/
> >   rsync://gameboy2.puremagic.com/git/
> >
> > The second, third, and forth to last changes need a careful review,
> > they're direct applications of the original patches which were lightly
> > tested during the first round and nothing other than compile tested in
> > this round.
> >
> > I suspect the remaining parts of the original patch series will go in
> > fairly smoothly.  If no one gets to them before tonight I'll finish
> > it up after work.
> >
> > Later,
> > Brad
> 
> I've completed the re-merge, and moved to tip of git-pb.git rather than
> tip of git.git.  Unfortunatly that merge was also somewhat intrusive and
> my individual diffs along the way are somewhat useless now.  The entire
> history is available about the above locations still.  Attached is the
> full diff vs git-pb @ 902b92e00e491a60d55c4b2bce122903b8347f34.
I've merged some of the minor stuff for now.
> 2) Should the index changing areas be constructing a new index instead of
> shuffling bits within the current index?

When I have a big cache (the only time it matters), I do usually only relatively small changes to it, so...

> 3) The vocabulary and code is inconsistent between cache and index.
Yes...
> 4) read-cache.c does much more than reading.

and yes. And cache.h is full of crap. Perhaps we could move read-cache.c to cache.c?

I'd imagine the plan of attack to continue by changing active_cache to be struct cache, then making it local.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: Brad RobertsNext: Brad Roberts
Message 2 of 9 in “Re: Darcs-git: a few notes for Git hackers”
  1. Brad RobertsMay 15, 2005
  2. Petr BaudisMay 15, 2005
  3. Brad RobertsMay 15, 2005
  4. Junio C HamanoMay 15, 2005
  5. Petr BaudisMay 15, 2005
  6. Brad RobertsMay 15, 2005
  7. Junio C HamanoMay 15, 2005
  8. Petr BaudisMay 17, 2005
  9. Petr BaudisMay 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.