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

Implemented a function for developers to specify the --depth option of the git clone command #62

Merged
merged 1 commit into from
Feb 13, 2014

Conversation

yosssi
Copy link

@yosssi yosssi commented Feb 13, 2014

Implemented a function for developers to specify the --depth option of the git clone command. refs #55

I included the #60 instructions.

I made Git.Depth type *int so that we can distinguish the following cases:

  • git: depth: is not set on .drone.yml. (In this case the default depth value(50) is set to --depth.)
  • git: depth: is set to 0 on .drone.yml. (In this case 0 is set to --depth.)
type Git struct {
   Depth *int `yaml:"depth"`
}

@bradrydzewski
Copy link

great work! thanks!!

bradrydzewski added a commit that referenced this pull request Feb 13, 2014
Implemented a function for developers to specify the `--depth` option of the `git clone` command
@bradrydzewski bradrydzewski merged commit bb90a49 into harness:master Feb 13, 2014
@yosssi
Copy link
Author

yosssi commented Feb 13, 2014

It's my pleasure.

@yosssi yosssi deleted the add-git-depth-option branch February 13, 2014 06:49
@luislavena luislavena mentioned this pull request Feb 14, 2014
johannesHarness pushed a commit that referenced this pull request Sep 26, 2023
* Add some debugging info for PR deployment

* Add some debugging info for PR deployment
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.

None yet

2 participants