On Sun, 15 Apr 2007, Junio C Hamano wrote: > > > > But no, I wasn't following that series, so I probably totally > > misunderstood what you were going after.. > > Could be. > > The issue in short was about: > > $ git checkout $branch > > At this point you think your HEAD is at $branch head, and you > are working towards building a commit that has that commit as > one of the parents. > > Then a gremlin updates the commit HEAD points at. Ahh, ok. I was kind of expecting that you'd actually do something at "receive-pack" time instead, not at the next commit. That would also solve it - just have an option saying "update the working tree when receiving". And since I thought that was what you were aiming at, I didn't see why you wanted to hide the previous commit in the index.. All clear now. My confusion. Linus - 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