On 9/4/07, Andreas Ericsson <ae@xxxxxx> wrote: > Jon Smirl wrote: > > Another way of looking at the problem, > > > > Let's build a full-text index for git. You put a string into the index > > and it returns the SHAs of all the file nodes that contain the string. > > How do I recover the path names of these SHAs? > > > > I wouldn't know, but presumably any table can have more than one column. > > Is this a problem you face with git so often that it requires a complete > re-design of its very core? That's the whole point. We need to discuss the impact of merging a field (path names) with an index (tree nodes) has on future things we may want to do with the data stored in git. Databases don't usually blend fields/indexes without also duplicating the field in the table. You need all the fields in the table so that it is possible to create indexes on other fields. > > -- > Andreas Ericsson andreas.ericsson@xxxxxx > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -- Jon Smirl jonsmirl@xxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html