Re: Error "fatal: cannot pread pack file: Success"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Wednesday, February 28, 2007 - 10:13 am

On Wed, 28 Feb 2007, Bill Lear wrote:

Ahh, ok. 

That means you got 0 back. That in turn means that the file seems to be 
truncated for some reason - the only valid reason to get 0 back is if the 
length of the file is smaller than the offset you're asking for data from.


Yes, that's how you get the filesystem type ;)


Well, if the return value was 0, it wasn't as odd any more, and the reason 
seems to be a file truncate error. Shawn seems to be on that one.

(The "return 305 when asked for 207" seemed like a kernel bug, which was 
why I got really interested ;)

		Linus
-
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:
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Tue Feb 27, 8:57 pm)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Tue Feb 27, 9:47 pm)
Re: Error "fatal: cannot pread pack file: Success", Junio C Hamano, (Tue Feb 27, 10:55 pm)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 8:54 am)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 9:32 am)
Re: Error "fatal: cannot pread pack file: Success", Morten Welinder, (Wed Feb 28, 9:42 am)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 9:48 am)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 9:49 am)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 10:06 am)
Re: Error "fatal: cannot pread pack file: Success", Linus Torvalds, (Wed Feb 28, 10:13 am)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 10:43 am)
Re: Error "fatal: cannot pread pack file: Success", Shawn O. Pearce, (Wed Feb 28, 10:58 am)
Re: Error "fatal: cannot pread pack file: Success", Linus Torvalds, (Wed Feb 28, 11:37 am)