Re: [PATCH] index-pack: correctly initialize appended objects

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Nicolas Pitre <nico@...>, <spearce@...>, <git@...>
Date: Friday, July 25, 2008 - 1:21 am

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


Reading get_data_from_pack(), it does rely on hdr_size, idx.offset and
idx.offset of the next entry to be set correctly.  The function does not
seem to use type (which the patch is also setting) nor real_type (which
the patch does not set).

However, the code checks objects[nth].real_type all over the place in the
code.  Doesn't the lack of real_type assignment in append_obj_to_pack()
affect them in  any way?

--
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:
[PATCH] index-pack: correctly initialize appended objects, Johannes Schindelin, (Thu Jul 24, 1:32 pm)
Re: [PATCH] index-pack: correctly initialize appended objects, Junio C Hamano, (Fri Jul 25, 1:21 am)
Re: [PATCH] index-pack: correctly initialize appended objects, Johannes Schindelin, (Fri Jul 25, 9:15 am)
Re: [PATCH] index-pack: correctly initialize appended objects, Johannes Schindelin, (Fri Jul 25, 11:04 pm)
Re: [PATCH] index-pack: correctly initialize appended objects, Shawn O. Pearce, (Fri Jul 25, 12:42 pm)
Re: [PATCH] index-pack: correctly initialize appended objects, Johannes Schindelin, (Fri Jul 25, 6:24 am)