Run git prune on sourceware.org?

Andreas Schwab schwab@suse.de
Thu Aug 31 13:05:00 GMT 2017


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."



More information about the Libc-alpha mailing list