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
Boxiang Sun
gitlab-ce
Commits
27326ac6
Commit
27326ac6
authored
Oct 13, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Associate Rakefile with Ruby icon in diffs
Closes
https://gitlab.com/gitlab-org/gitlab-ce/issues/52654
parent
4127b357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/javascripts/vue_shared/components/file_icon/file_icon_map.js
...ascripts/vue_shared/components/file_icon/file_icon_map.js
+2
-3
changelogs/unreleased/sh-associate-rakefile-ruby.yml
changelogs/unreleased/sh-associate-rakefile-ruby.yml
+5
-0
No files found.
app/assets/javascripts/vue_shared/components/file_icon/file_icon_map.js
View file @
27326ac6
...
...
@@ -549,6 +549,7 @@ const fileNameIcons = {
jenkinsfile
:
'
jenkins
'
,
'
firebase.json
'
:
'
firebase
'
,
'
.firebaserc
'
:
'
firebase
'
,
Rakefile
:
'
ruby
'
,
'
rollup.config.js
'
:
'
rollup
'
,
'
rollup.config.ts
'
:
'
rollup
'
,
'
rollup-config.js
'
:
'
rollup
'
,
...
...
@@ -583,7 +584,5 @@ const fileNameIcons = {
};
export
default
function
getIconForFile
(
name
)
{
return
fileNameIcons
[
name
]
||
fileExtensionIcons
[
name
?
name
.
split
(
'
.
'
).
pop
()
:
''
]
||
''
;
return
fileNameIcons
[
name
]
||
fileExtensionIcons
[
name
?
name
.
split
(
'
.
'
).
pop
()
:
''
]
||
''
;
}
changelogs/unreleased/sh-associate-rakefile-ruby.yml
0 → 100644
View file @
27326ac6
---
title
:
Associate Rakefile with Ruby icon in diffs
merge_request
:
author
:
type
:
other
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