You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2016/10/06 21:04:20 UTC

[jira] [Commented] (CB-11961) do a shallow clone if git_ref is a remote ref

    [ https://issues.apache.org/jira/browse/CB-11961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15553169#comment-15553169 ] 

Shazron Abdullah commented on CB-11961:
---------------------------------------

Seems like we already do it: https://github.com/apache/cordova-lib/blob/f8b58c782c71558516adbbd81929ee31ec3ded7f/cordova-lib/src/gitclone.js#L50

> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org