BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
83417865
Commit
83417865
authored
Aug 21, 2017
by
Saverio Miroddi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change a variable name in Commit#cherry_pick_description
parent
9ec358af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
commit.rb
app/models/commit.rb
+4
-4
No files found.
app/models/commit.rb
View file @
83417865
...
...
@@ -252,21 +252,21 @@ class Commit
end
def
cherry_pick_description
(
user
)
message_b
uffer
=
"(cherry picked from commit
#{
sha
}
)"
message_b
ody
=
"(cherry picked from commit
#{
sha
}
)"
if
merged_merge_request?
(
user
)
commits_in_merge_request
=
merged_merge_request
(
user
).
commits
if
commits_in_merge_request
.
present?
message_b
uffer
<<
"
\n
"
message_b
ody
<<
"
\n
"
commits_in_merge_request
.
reverse
.
each
do
|
commit_in_merge
|
message_b
uffer
<<
"
\n
#{
commit_in_merge
.
short_id
}
#{
commit_in_merge
.
title
}
"
message_b
ody
<<
"
\n
#{
commit_in_merge
.
short_id
}
#{
commit_in_merge
.
title
}
"
end
end
end
message_b
uffer
message_b
ody
end
def
cherry_pick_message
(
user
)
...
...
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