* time to update with new packs
@ 2005-10-01 4:40 Tony Luck
2005-10-01 7:18 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Tony Luck @ 2005-10-01 4:40 UTC (permalink / raw)
To: git
I see that Linus made a new incremental pack when he
released 2.6.14-rc3 ... so to be nice to the kernel.org
mirroring daemons I should make use of them.
After the excitement I had last time with packs and trying to
make use of alternate directories, I thought I'd check the
process before I touched anything.
1) Link the new pack files from Linus' objects/pack directory
to my objects/pack directory.
2) $ GIT_DIR=. git prune-packed # in my directory
3) $ GIT_DIR=. git update-server-info # ditto
Ok?
-Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: time to update with new packs
2005-10-01 4:40 time to update with new packs Tony Luck
@ 2005-10-01 7:18 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2005-10-01 7:18 UTC (permalink / raw)
To: Tony Luck; +Cc: git
Tony Luck <tony.luck@gmail.com> writes:
> 1) Link the new pack files from Linus' objects/pack directory
> to my objects/pack directory.
>
> 2) $ GIT_DIR=. git prune-packed # in my directory
>
> 3) $ GIT_DIR=. git update-server-info # ditto
When everybody uses more recent clients, you could say
"/pub/scm/.../torvalds/linux-2.6.git/objects" in your
objects/info/alternates file and not worry about step (1). git
native transport has known about the alternate mechanism since
the inception. The alternate mechanism support in "git fetch"
and "git clone" for rsync and http transports is a relatively
recent addition (appeared just before 0.99.7).
So (1) is not necessary for git native transport once you have
"alternate" file, but for other transports (1) is probably still
helpful at this point.
Also, enabling hooks/post-update in your public repository would
save you from worrying about (3), provided if the only way you
update it is by pushing into it, which I think is what usually
people are doing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-10-01 7:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-01 4:40 time to update with new packs Tony Luck
2005-10-01 7:18 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox