Re: git 1.5.1-rc1 doesn't like empty files

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Monday, March 19, 2007 - 10:56 pm

Linus Torvalds <torvalds@linux-foundation.org> wrote:

For what it is worth, I have been running core.legacyheaders=false
on both my PowerBook (my main dev system) and on my x86 Cygwin
POS.  I guess I've been lucky, as I've never noticed any sort
of corruption.

Oh, wait, yes I did.  Just the other day.  A loose object got the
same zlib error as Pavel asked about.  But git-prune whacked the
damn thing.  I figured it was just a short write by Cygwin during
some sort of operation that I may have aborted; e.g. aborting an
update-index and running it again later, thus never actually using
that particular blob.

I didn't think twice about the error (until now), especially since
`git-fsck --full` did not whine after the corrupt loose object
was gone.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git 1.5.1-rc1 doesn't like empty files, Pavel Roskin, (Mon Mar 19, 8:30 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Nicolas Vilz, (Mon Mar 19, 9:24 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Linus Torvalds, (Mon Mar 19, 9:54 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Pavel Roskin, (Mon Mar 19, 10:08 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Junio C Hamano, (Mon Mar 19, 10:29 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Linus Torvalds, (Mon Mar 19, 10:41 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Pavel Roskin, (Mon Mar 19, 10:47 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Linus Torvalds, (Mon Mar 19, 10:49 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Pavel Roskin, (Mon Mar 19, 10:50 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Shawn O. Pearce, (Mon Mar 19, 10:56 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Junio C Hamano, (Mon Mar 19, 11:00 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Junio C Hamano, (Mon Mar 19, 11:05 pm)
Re: git 1.5.1-rc1 doesn't like empty files, Alexander Litvinov, (Tue Mar 20, 12:04 am)
Re: git 1.5.1-rc1 doesn't like empty files, Andy Parkins, (Tue Mar 20, 1:43 am)
Re: git 1.5.1-rc1 doesn't like empty files, Junio C Hamano, (Tue Mar 20, 1:49 am)
Re: git 1.5.1-rc1 doesn't like empty files, Andy Parkins, (Tue Mar 20, 2:26 am)
Re: git 1.5.1-rc1 doesn't like empty files, Linus Torvalds, (Tue Mar 20, 8:45 am)
Re: git 1.5.1-rc1 doesn't like empty files, Linus Torvalds, (Tue Mar 20, 8:46 am)