Git development
 help / color / mirror / Atom feed
* RFH: refactor read-tree
@ 2006-07-08 22:28 Johannes Schindelin
  2006-07-09  3:15 ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Schindelin @ 2006-07-08 22:28 UTC (permalink / raw)
  To: git

Hi,

the last thing to do with merge-recursive to speed it up, would be to 
avoid reading/writing the cache all the time.

Unfortunately, builtin-read-tree.c grew into a pretty big monster, with so 
many different options which completely change behaviour.

So, how should I go about it? Should I make a struct a la diff_options to 
hold the options to unpack_trees? Where should it go?

I also played a little with git-merge-tree, because it seems so much 
simpler and easier to refactor. But there is a problem: Either I call it 
the wrong way, or it does not yet work correctly: I tried

	git-merge-tree $(git-merge-base branch1 branch2) branch1 branch2

with what is in 'next'. But it only showed the _new_ files, not the 
modified ones.

Help, please?

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-09 22:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-08 22:28 RFH: refactor read-tree Johannes Schindelin
2006-07-09  3:15 ` Linus Torvalds
2006-07-09 12:43   ` Alex Riesen
2006-07-09 14:30     ` Johannes Schindelin
2006-07-09 15:30       ` Linus Torvalds
2006-07-09 22:17         ` Alex Riesen
2006-07-09 14:55   ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox