[
https://issues.jenkins-ci.org/browse/JENKINS-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163210#comment-163210
]
Andy M commented on JENKINS-4418:
---------------------------------
@abayer care to comment why?
Maybe this is a good reason, but this would save GBs of space for my projects.
> do shallow clone by default
> ---------------------------
>
> Key: JENKINS-4418
> URL: https://issues.jenkins-ci.org/browse/JENKINS-4418
> Project: Jenkins
> Issue Type: Improvement
> Components: git
> Affects Versions: current
> Environment: Platform: All, OS: All
> Reporter: semb
>
> When using git to clone a remote repository for a build it is not usually
> necessary to clone the full history from the remote repository - a full clone
> wastes disc space. A shallow clone is sufficient if not merging and pushing
> back. Adding -depth to the clone command line achieves this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira