From: | Michael <voron1@×××××.com> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1 | ||
Date: | Sat, 17 Dec 2022 06:14:49 | ||
Message-Id: | CAPwhe7KPhRHwUz+By7V=mz1fsoGkxzuXeN39-cK5eSxbudZh1g@mail.gmail.com | ||
In Reply to: | Re: [gentoo-dev] Current portage will now truncate your repo's git history to 1 by Sam James |
1 | > The motivation behind the sync depth part was because of |
2 | > disk space growing unbounded otherwise. |
3 | |
4 | I recently did `git config --local fetch.prune true` to the repos I |
5 | don't develop (user mode). |
6 | And that seems to help with the uncontrollable growth. |
7 | |
8 | # grep prune /usr/portage/.git/config -B1 |
9 | [fetch] |
10 | prune = true |
11 | |
12 | Michael |