From: ardi <email@example.com>
Subject: Settings for minimizing repacking (and keeping 'rsync' happy)
Date: Sun, 28 Jul 2019 01:41:34 +0200 [thread overview]
Message-ID: <CA+fZqCXBjA5jsYg7L7X1VhJZXrp9NP+dR1SQWK9fAf9b1jgpCg@mail.gmail.com> (raw)
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
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?
next reply other threads:[~2019-07-27 23:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-27 23:41 ardi [this message]
2019-07-29 9:42 ` Settings for minimizing repacking (and keeping 'rsync' happy) 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
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
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).