HomeFreeBSD

Reduce depth of git pull when checking out ports

Description

Reduce depth of git pull when checking out ports

An initial 'git clone' of the ports tree takes a long time. The checkout we
had before this change contained all the commit history, which would
normally not be necessary nor be interesting for people who simply want
to compile ports without doing any kind of development.

To reduce the clone time add the '--depth 1' parameter in this change.
Additionally, for people that do work on ports, a sentence about
removing that option was added.

Details

Provenance
bcrAuthored on Wed, May 29, 3:19 PM
Differential Revision
D40561: Reducing the depth of git pull
Parents
R9:82d847f5374f: 14.1R: schedule: first and final RC
Branches
Unknown
Tags
Unknown