summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2019-07-18 10:13:15 +0200
committerMathieu Parent <math.parent@gmail.com>2019-07-18 10:18:23 +0200
commit0f585d0de89cfee5054e002fe6421c38b3f8e8ce (patch)
tree049c90a5deb69345cc100c7b617f4d33f984c6bd
parent691d88b71d51786983b823207d876cee7c93f5d4 (diff)
downloadgitlab-ce-0f585d0de89cfee5054e002fe6421c38b3f8e8ce.tar.gz
API: Allow changing only ci_default_git_depth
-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,