Re: [PATCH 7/8] git-repack --max-pack-size: split packs as asked by write_object/write_one

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dana How <danahow@...>
Cc: Junio C Hamano <junkio@...>, Git Mailing List <git@...>
Date: Tuesday, May 1, 2007 - 1:40 am

Dana How <danahow@gmail.com> wrote:
...
...
...

What about keeping track of how many objects in nr_result that
have been written already in the prior iteration of this do{}
while loop and using that to set hdr_entries?  This way if you are
splitting into multiple packfiles the last packfile won't need to
do a header/footer fixup.

-- 
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:
Re: [PATCH 7/8] git-repack --max-pack-size: split packs as a..., Shawn O. Pearce, (Tue May 1, 1:40 am)