From: Daniel Barkalow Date: Wed, 23 Apr 2008 17:10:42 GMT Subject: Re: Probably a GIT bug.. Message-ID: In-Reply-To: <7v63u8tt62.fsf@gitster.siamese.dyndns.org> On Wed, 23 Apr 2008, Junio C Hamano wrote: > Tomasz bla Fortuna 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*