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
4d2278e7
Commit
4d2278e7
authored
Nov 17, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename commits/text_file partial to text_diff
parent
6d5c29dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/commits/_diffs.html.haml
app/views/commits/_diffs.html.haml
+2
-2
app/views/commits/_text_diff.html.haml
app/views/commits/_text_diff.html.haml
+0
-0
No files found.
app/views/commits/_diffs.html.haml
View file @
4d2278e7
...
...
@@ -38,10 +38,10 @@
%br
/
.diff_file_content
-# Skip
p all non
non-supported blobs
-# Skip
all
non-supported blobs
-
next
unless
file
.
respond_to?
(
'text?'
)
-
if
file
.
text?
=
render
"commits/text_
file
"
,
diff:
diff
,
index:
i
=
render
"commits/text_
diff
"
,
diff:
diff
,
index:
i
-
elsif
file
.
image?
-
old_file
=
(
@commit
.
prev_commit
.
tree
/
diff
.
old_path
)
if
!
@commit
.
prev_commit
.
nil?
-
if
diff
.
renamed_file
||
diff
.
new_file
||
diff
.
deleted_file
...
...
app/views/commits/_text_
file
.html.haml
→
app/views/commits/_text_
diff
.html.haml
View file @
4d2278e7
File moved
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