Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use shalow copy(optional) #151

Merged
merged 4 commits into from
Jan 26, 2015
Merged

Use shalow copy(optional) #151

merged 4 commits into from
Jan 26, 2015

Conversation

sanemat
Copy link
Owner

@sanemat sanemat commented Jan 25, 2015

#141, #139

You can set git_clone_depth option for fetching repository. This brings git clone --depth 50 https://example.com/your/repos and this reduces total build time!

This is optional setting because shallowly-cloned repository does not have push ability until git v1.9.0.
https://github.com/git/git/blob/master/Documentation/RelNotes/1.9.0.txt

I don't know what value is enough yet, but git_clone_depth: 50 is reasonable, because travis-ci uses --depth 50 ☺️

@coveralls
Copy link

Coverage Status

Coverage remained the same at 68.0% when pulling 1f7fb15 on feat/use-shalow-copy into b7b7889 on master.

sanemat added a commit that referenced this pull request Jan 26, 2015
@sanemat sanemat merged commit 86ae47c into master Jan 26, 2015
@sanemat sanemat deleted the feat/use-shalow-copy branch January 26, 2015 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants