From owner-freebsd-current@freebsd.org Wed Sep 2 13:16:53 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 548BB3D7AA2; Wed, 2 Sep 2020 13:16:53 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [IPv6:2a01:e0c:1:1599::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhPbm3zfgz4k2P; Wed, 2 Sep 2020 13:16:52 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from ravel.localnet (unknown [2.15.195.171]) (Authenticated sender: olivier.freebsd@free.fr) by smtp3-g21.free.fr (Postfix) with ESMTPSA id BD8DC13F8E7; Wed, 2 Sep 2020 15:16:38 +0200 (CEST) From: Olivier Certner To: Thomas Mueller Cc: freebsd-current@freebsd.org, freebsd-git@freebsd.org, Mathieu Arnold Subject: Re: Please check the current beta git conversions Date: Wed, 02 Sep 2020 15:16:38 +0200 Message-ID: <2970281.0P3pStmDMi@ravel> In-Reply-To: <20200902122759.b6zhbc4qa4jgicdx@aching.in.mat.cc> References: <20200902122759.b6zhbc4qa4jgicdx@aching.in.mat.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BhPbm3zfgz4k2P X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.03 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[free.fr]; NEURAL_HAM_SHORT(-0.34)[-0.341]; FREEMAIL_TO(0.00)[twc.com]; RECEIVED_SPAMHAUS_PBL(0.00)[2.15.195.171:received]; MIME_TRACE(0.00)[0:+]; CTE_CASE(0.50)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[free.fr]; ASN(0.00)[asn:12322, ipnet:2a01:e00::/26, country:FR]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[free.fr]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.42)[0.416]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.06)[0.056]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-git] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 13:16:53 -0000 Hi, > > 2.5 GB in .git directory sounds crazy and incomprehensible to me. > > 2.5GB is for the full history, if you only care about the main branch, > you can clone with: > > (snip) I do not reproduce this, but instead see `du` reporting 1.2GiB just after a simple clone (no options), which AFAIK contains the whole history. I have a complete mirror of SVN that I update with scripts around `svnrdump dump` and `svnadmin load`, and its size is 6.1GiB (I pack it regularly). For the record, here are the sizes of the `.svn` directories of some checkouts I currently have: - stable/12 at rev 355888: 1.9GiB - stable/12 at rev 361580: 2.4GiB - head at rev 361584: 2.7GiB I must point out that I don't remember the exact creation history of these. It is probable that, to create new ones, I did full copies (`cp -a`) of an old one followed by `svn switch`. Don't know if this can have an influence on these numbers (didn't test with pristine checkouts). Important tip: When using `du`, don't forget to pass the '-A' option, especially if using ZFS + compression. -- Olivier Certner