Gentoo Archives: gentoo-dev

From: Alex Xu <alex_y_xu@×××××.ca>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: overlays.gentoo.org restoration & post-mortem
Date: Sat, 18 Jan 2014 15:12:03
Message-Id: 52DA99B3.2010503@yahoo.ca
In Reply to: [gentoo-dev] Re: overlays.gentoo.org restoration & post-mortem by Martin Vaeth
1 On 18/01/14 05:57 AM, Martin Vaeth wrote:
2 > Robin H. Johnson <robbat2@g.o> wrote:
3 >>
4 >> FYI: The following repos contained dangling commits/tags/blobs
5 >> [...] you are encouraged to push again [...]
6 >> user/mv.git (+blobs)
7 >
8 > I cannot imagine that the suggested "git push" removed orphaned blobs:
9 > AFAIK it is not possible to execute commands like "git prune",
10 > "git gc --aggressive", or "git repack -a -d" remotely.
11 > Perhaps such things should run as a cron job?
12 >
13 >
14
15 From what I know, dangling commits are part of the git workflow if one
16 rewrites history.
17
18 If you push A -> B -> C, then reset --hard to B, then push, C will be
19 dangling on the remote and will not be cleaned until git gc is
20 automatically run on the remote, controlled by the gc.auto config
21 variable (on by default).

Attachments

File name MIME type
signature.asc application/pgp-signature