Issue Type: Bug Bug
Assignee: rsandell
Components: gerrit-trigger
Created: 15/May/14 3:21 PM
Description:

In order to speed up clones for very large repositories, I want to be able to use shallow clones.

Currently, using shallow clones ends up doing the following git commands:

{{
Cloning repository ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo
> git init /a/workspace/engine-copyright-check-gerrit
Fetching upstream changes from ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo
> git --version
> git fetch --tags --progress ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo +refs/heads/:refs/remotes/origin/ --depth=1
> git config remote.origin.url ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo
> git config remote.origin.fetch +refs/heads/:refs/remotes/origin/
> git config remote.origin.url ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo
Fetching upstream changes from ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo
> git fetch --tags --progress ssh://auto...@gerrit.bigdatalab.ibm.com:29418/vivisimo +refs/changes//20740/1:refs/remotes/origin/changes//20740/1
> git rev-parse FETCH_HEAD^{commit}
Checking out Revision e976b99ee4a8b6b65ea351f31c5cd4509a5eafaf (origin/release)
> git config core.sparsecheckout
> git checkout -f e976b99ee4a8b6b65ea351f31c5cd4509a5eafaf
> git rev-parse FETCH_HEAD^{commit}
> git rev-list 0ecf38b5c187d237b3689dcd2d5d52ba8c295610
}}

Project: Jenkins
Priority: Major Major
Reporter: Christian Höltje
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to