Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
1e64882d
Commit
1e64882d
authored
Jan 25, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'grapify-branch-api' into 'master'
Grapify last endpoint of the branches API See merge request !8755
parents
448321a4
4f17fc80
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
lib/api/branches.rb
lib/api/branches.rb
+1
-6
No files found.
lib/api/branches.rb
View file @
1e64882d
...
@@ -129,12 +129,7 @@ module API
...
@@ -129,12 +129,7 @@ module API
end
end
end
end
# Delete all merged branches
desc
'Delete all merged branches'
#
# Parameters:
# id (required) - The ID of a project
# Example Request:
# DELETE /projects/:id/repository/branches/delete_merged
delete
":id/repository/merged_branches"
do
delete
":id/repository/merged_branches"
do
DeleteMergedBranchesService
.
new
(
user_project
,
current_user
).
async_execute
DeleteMergedBranchesService
.
new
(
user_project
,
current_user
).
async_execute
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment