Re: [0/5] Parsers for git objects, porting some programs

2005-04-18 Thread Linus Torvalds


On Sun, 17 Apr 2005, Daniel Barkalow wrote:

 This series introduces common parsers for objects, and ports the programs
 that currently use revision.h to them.
 
  1: the header files
  2: the implementations
  3: port rev-tree
  4: port fsck-cache
  5: port merge-base

Ok, having now looked at the code, I don't have any objections at all. 
Could you clarify the fsck issue about reading the same object twice? 
When does that happen?

Linus
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [0/5] Parsers for git objects, porting some programs

2005-04-18 Thread Daniel Barkalow
On Mon, 18 Apr 2005, Junio C Hamano wrote:

 I was looking at the tree part and am thinking that it would
 make it much nicer if your tree object records path for each
 entry. 

You're entirely right, and I've actually now written the code that does
it. I'm planning to send out a patch for that shortly.

 Currently it just borrows from object.refs to represent
 its children

Note that object.refs needs to get filled out for those
applications, even if the information is also included in the
parse; object.refs is for finding what you can reach without worrying
about how you do it.

-Daniel
*This .sig left intentionally blank*

-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html