[ https://issues.apache.org/jira/browse/CB-11961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553287#comment-15553287 ]
Brett Rudd commented on CB-11961: --------------------------------- needGitCheckout is true if git_ref is present depth=1 is used when needGitCheckout is false we had to patch this for build as some clones were taking 90s for a branch. > do a shallow clone if git_ref is a remote ref > --------------------------------------------- > > Key: CB-11961 > URL: https://issues.apache.org/jira/browse/CB-11961 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI > Reporter: Brett Rudd > Assignee: Brett Rudd > Priority: Minor > > Currently when cloning with a reference the entire repo is cloned then is > checked out. > If the reference is a valid remote reference then it should be shallow cloned > so as to save time / lower bandwidth. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org