Skip to content

Commit a246ce8

Browse files
feat: add support for squash_option in Projects
There is an optional `squash_option` parameter which can be used when creating Projects and UserProjects. Closes #1744
1 parent 170a4d9 commit a246ce8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

gitlab/v4/objects/projects.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ class ProjectManager(CRUDMixin, RESTManager):
692692
"show_default_award_emojis",
693693
"snippets_access_level",
694694
"snippets_enabled",
695+
"squash_option",
695696
"tag_list",
696697
"template_name",
697698
"template_project_id",
@@ -760,6 +761,7 @@ class ProjectManager(CRUDMixin, RESTManager):
760761
"show_default_award_emojis",
761762
"snippets_access_level",
762763
"snippets_enabled",
764+
"squash_option",
763765
"suggestion_commit_message",
764766
"tag_list",
765767
"visibility",

gitlab/v4/objects/users.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ class UserProjectManager(ListMixin, CreateMixin, RESTManager):
500500
"merge_requests_enabled",
501501
"wiki_enabled",
502502
"snippets_enabled",
503+
"squash_option",
503504
"public",
504505
"visibility",
505506
"description",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy