public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <voron1@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1
Date: Sat, 17 Dec 2022 10:14:33 +0400	[thread overview]
Message-ID: <CAPwhe7KPhRHwUz+By7V=mz1fsoGkxzuXeN39-cK5eSxbudZh1g@mail.gmail.com> (raw)
In-Reply-To: <BA316A69-710C-453F-A6DE-880D98AD727D@gentoo.org>

> The motivation behind the sync depth part was because of
> disk space growing unbounded otherwise.

I recently did `git config --local fetch.prune true` to the repos I
don't develop (user mode).
And that seems to help with the uncontrollable growth.

# grep prune /usr/portage/.git/config -B1
[fetch]
       prune = true

Michael


  reply	other threads:[~2022-12-17  6:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-15 19:22 [gentoo-dev] Current portage will now truncate your repo's git history to 1 Florian Schmaus
2022-12-15 19:56 ` [gentoo-dev] " Florian Schmaus
2022-12-15 20:10 ` [gentoo-dev] " Toralf Förster
2022-12-15 20:40   ` Florian Schmaus
2022-12-16  1:08     ` [gentoo-dev] " Duncan
2022-12-17  4:01       ` Brian Evans
2022-12-18  1:52         ` John Helmert III
2022-12-17  5:42 ` [gentoo-dev] " Sam James
2022-12-17  6:14   ` Michael [this message]
2022-12-17  6:25   ` Sam James
2022-12-18  2:09   ` John Helmert III
2022-12-18 10:19   ` Florian Schmaus
2022-12-18 11:42     ` Sam James

Reply instructions:

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPwhe7KPhRHwUz+By7V=mz1fsoGkxzuXeN39-cK5eSxbudZh1g@mail.gmail.com' \
    --to=voron1@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox