summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-09 17:08:02 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-09 17:08:02 +0000
commitd910424cf45ecba114825460aa45246d6fbd4412 (patch)
treead84e1cb0d0e3b1621c159daae5b58f72f021a07
parent8440290f6a11ae9af3d24bb88b0ea0cfedca3427 (diff)
parent7b0ac5b6b49675790491dcf8764ebfb17b93012c (diff)
downloadgitlab-ce-d910424cf45ecba114825460aa45246d6fbd4412.tar.gz
Merge branch 'remove-default-branch-option-from-doc' into 'master'
Remove default_branch from project API creation documentation The docs erroneously included `default_branch` as an option in project creation, but this field does not make sense because a new project has an empty repo with no branches. Closes #3937 See merge request !2034
-rw-r--r--doc/api/projects.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 42919a312ae..43a50a9a810 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -398,7 +398,6 @@ Parameters:
- `user_id` (required) - user_id of owner
- `name` (required) - new project name
- `description` (optional) - short project description
-- `default_branch` (optional) - 'master' by default
- `issues_enabled` (optional)
- `merge_requests_enabled` (optional)
- `builds_enabled` (optional)