On Sat, 14 Jul 2007, Julian Phillips wrote: > On Sun, 15 Jul 2007, Jan Hudec wrote: > > > It would be IMHO possible to symlink all the stuff in .git except HEAD and > > index, except for one problem. This is if you have two checkouts from the > > same branch and check out of them, the other one needs to know, that it's > > head should now be detached to stay where it was. > > You basically just described what the git-new-workdir script in > contrib/workdir does ... it doesn't address the issue of reference updating. That's where keeping the index's parents in the index would help. Various people have implemented it at various times, but it's never quite become sufficiently important to people to have the correct behavior worked out and put into mainline. IIRC, not too long ago Junio had an implementation in pu, but ended up dropping it because almost nobody would see a difference, and the people who did see a difference only had it interfere with what they were trying to do. -Daniel *This .sig left intentionally blank* - 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