Re: [RFC Patch] Preventing corrupt objects from entering the repository

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Koegler <mkoegler@...>
Cc: Junio C Hamano <gitster@...>, <git@...>
Date: Tuesday, February 12, 2008 - 4:22 pm

On Tue, 12 Feb 2008, Martin Koegler wrote:


Why so?

Each received object is stored in memory when received, so why can't you 
simply validate it in place?  No need to keep trace of them afterward.


Not all objects otherwise I wouldn't even be able to run it.

My point is that you can have fsck load only objects contained in the 
received pack (you can use the pack index to load them) and assume 
connectivity is good whenever an object in the pack reference an 
existing object outside of the pack.  At least this doesn't need to 
happen in parallel with pack indexing.


Nicolas
-
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: [RFC Patch] Preventing corrupt objects from entering the..., Johannes Schindelin, (Wed Feb 13, 8:01 am)
Re: [RFC Patch] Preventing corrupt objects from entering the..., Johannes Schindelin, (Thu Feb 14, 8:06 pm)
Re: [RFC Patch] Preventing corrupt objects from entering the..., Nicolas Pitre, (Tue Feb 12, 4:22 pm)
[RFC PATCH] Remove object-refs from fsck, Shawn O. Pearce, (Thu Feb 14, 5:00 am)
Re: [RFC PATCH] Remove object-refs from fsck, Martin Koegler, (Thu Feb 14, 3:07 pm)