mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 03:56:05 +10:00
A new branch created for a confidential issue is named <id>-confidential-issue.
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ class Issue < ActiveRecord::Base
|
||||
|
||||
def to_branch_name
|
||||
if self.confidential?
|
||||
"issue-#{iid}"
|
||||
"#{iid}-confidential-issue"
|
||||
else
|
||||
"#{iid}-#{title.parameterize}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user