git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Settings for minimizing repacking (and keeping 'rsync' happy)
@ 2019-07-27 23:41 ardi
  2019-07-29  9:42 ` Jeff King
  2019-07-29 14:35 ` Konstantin Ryabitsev
  0 siblings, 2 replies; 5+ messages in thread
From: ardi @ 2019-07-27 23:41 UTC (permalink / raw)
  To: git

Hi!

Some of my Git repositories have mirrors, maintained with 'rsync'. I
want to have some level of repacking, so that the repositories are
efficient, but I also want it to minimize it, so that 'rsync' never
has to perform a big transfer for the repositories.

For example, I think it would be fine if files are repacked just once
in their lifetimes, and then that resulting pack file is never
repacked again. I did read the gc.bigPackThreshold and
gc.autoPackLimit settings, but I don't think they would accomplish
that.

Basically, what I'm describing is the behaviour of not packing files
until the resulting pack would be a given size (say 10MB for example),
and then never repack such ~10MB packs again, ever.

Can this be done with some Git settings? And do you foresee any kind
of serious drawback or potential problem with this kind of behaviour?

Thanks!!

ardi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-29 20:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-27 23:41 Settings for minimizing repacking (and keeping 'rsync' happy) ardi
2019-07-29  9:42 ` Jeff King
2019-07-29 12:56   ` Ævar Arnfjörð Bjarmason
2019-07-29 20:16     ` Jeff King
2019-07-29 14:35 ` Konstantin Ryabitsev

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).