This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Run git prune on sourceware.org?
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 31 Aug 2017 15:05:24 +0200
- Subject: Re: Run git prune on sourceware.org?
- Authentication-results: sourceware.org; auth=none
- References: <e71ea305-8fd3-e320-ac66-ec04a2339f84@redhat.com>
On Aug 31 2017, Florian Weimer <fweimer@redhat.com> wrote:
> Git started complaining during pushes:
>
> Auto packing the repository for optimum performance.
> warning: There are too many unreachable loose objects; run 'git prune'
> to remove them.
>
> And indeed:
>
> $ git prune -n | cut -d\ -f 2 | sort | uniq -c
> 51 blob
> 313 commit
> 719 tree
>
> So it seems that there is quite some room for cleanup.
>
> Do you think this is safe to run?
They should be pruned automatically after some grace period (two weeks
by default) by the next git gc --auto.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."