summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-07-18 12:31:12 +0000
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-07-18 12:31:12 +0000
commit0854f18352e72c2bcc0beca601d1ea48b490d1be (patch)
tree450c6a1b7182e5522ae23aaca01a3a5ad888fa9a
parentcf31a558ec1331dc5ef6d87450aab855d5d449cc (diff)
parent0f585d0de89cfee5054e002fe6421c38b3f8e8ce (diff)
downloadgitlab-ce-0854f18352e72c2bcc0beca601d1ea48b490d1be.tar.gz
Merge branch 'ci_default_git_depth_only' into 'master'
API: Allow changing only ci_default_git_depth See merge request gitlab-org/gitlab-ce!30888
-rw-r--r--changelogs/unreleased/ci_default_git_depth_only.yml5
-rw-r--r--lib/api/helpers/projects_helpers.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/unreleased/ci_default_git_depth_only.yml b/changelogs/unreleased/ci_default_git_depth_only.yml
new file mode 100644
index 00000000000..928e2fe3ec4
--- /dev/null
+++ b/changelogs/unreleased/ci_default_git_depth_only.yml
@@ -0,0 +1,5 @@
+---
+title: 'API: Allow changing only ci_default_git_depth'
+merge_request: 30888
+author: Mathieu Parent
+type: fixed
diff --git a/lib/api/helpers/projects_helpers.rb b/lib/api/helpers/projects_helpers.rb
index 833e3b9ebaf..51b7cf05c8f 100644
--- a/lib/api/helpers/projects_helpers.rb
+++ b/lib/api/helpers/projects_helpers.rb
@@ -71,6 +71,7 @@ module API
:build_timeout,
:builds_access_level,
:ci_config_path,
+ :ci_default_git_depth,
:container_registry_enabled,
:default_branch,
:description,