Re: [PATCH] pack-objects: re-validate data we copy from elsewhere.

From: Junio C Hamano <>
Date: 2006-09-04 07:00:17
Shawn Pearce <> writes:

> Junio C Hamano <> wrote:
>> If rev-list had an extention that lets you say
>> 	rev-list --objects --all --unpacked=$active_pack |
>> 	pack-objects $new_pack
> Hmm.  Seems very reasonable actually.  :-)
> How do we pick the "active pack" in

I was hoping that will be a Porcelain policy issue I do not have
to decide ;-).

You could introduce in .git/config that points at
the latest active, make git-repack to notice and update when it
updates it.

We could also just use .git/objects/pack/pack-active.{pack,idx}
files.  This needs some surgery to get rid of packed_git.sha1[],
sha1_pack_name() and friends and have them only require .pack
and .idx are linked by their basename only as was discussed in a
separate thread to make it dumb-transport friendly.

VGER BF report: U 0.658122
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Mon Sep 04 07:05:26 2006

This archive was generated by hypermail 2.1.8 : 2006-09-04 07:06:08 EST