Date: Mon, 11 Jan 2021 11:00:38 +0100 From: Eduardo =?ISO-8859-1?Q?Morr=E1s?= <emorrasg@yahoo.es> To: freebsd-questions@freebsd.org Subject: Re: github ports Message-ID: <20210111110038.35efd1a2820c47bb89b0552a@yahoo.es> In-Reply-To: <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org> References: <20210110133605.6538dfd5@dismail.de> <CADnZ6B=Yy_fFUtAds3HjKZT10wNhGA6PzkYayc0mLNGoK_ug7Q@mail.gmail.com> <E79DB347-6EFA-458F-99B2-3E0177FB2AE5@kicp.uchicago.edu> <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> <d920f15c-fee4-0532-0d95-d5728ff2ef8b@rail.eu.org> <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jan 2021 09:21:16 +0000 Steve O'Hara-Smith <steve@sohara.org> wrote: > On Mon, 11 Jan 2021 09:57:37 +0100 > Erwan David <erwan@rail.eu.org> wrote: >=20 > > What is the solution for those who are not interessed/cannot handle > > the whole history with all branches ? >=20 > Add these to the git clone command. >=20 > --depth 1 --single-branch So, can I change=20 #portsnap fetch update=20 with=20 with this sh script? #!/bin/sh git clone --depth 1 --single branch git://github.com/freebsd/freebsd-ports = ports Or will be it more complicated and prone to error? What happens with the /usr/ports/distfile content? Is it erased everytime I= clone the ports repository? For now, portsnap never fired my feet but git... > --=20 > Steve O'Hara-Smith <steve@sohara.org> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --- --- Eduardo Morr=E1s <emorrasg@yahoo.es>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210111110038.35efd1a2820c47bb89b0552a>