On Wed, 23 Apr 2008, Junio C Hamano wrote: > Tomasz bla Fortuna <bla@xxxxxxxx> writes: > > > I guess that GIT should check if he can create a tree link before > > creating a commit. > > Thanks. > > That's a somewhat contrived example, and I do not know how you found it. > > I suspect the same breakage would trigger when you ran out of disk quota > to write out the tree while you still have barely enough quota to create > the commit and update the ref, which would result in corrupt repository. > So in that sense, this breakage is more likely to bite people in reality > than the initial reaction your test may invite which is "don't do that > then". make su make install git commit and then log out from your desktop environment, and you've got objects subdirectories owned by root without realizing. Of course, you shouldn't do that, either, but it's an easier mistake than accidentally removing your own write permission to something. -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