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
Jérome Perrin
gitlab-ce
Commits
5317c26c
Commit
5317c26c
authored
Aug 29, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment typo.
parent
48d8f993
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/compare_service.rb
app/services/compare_service.rb
+1
-1
No files found.
app/services/compare_service.rb
View file @
5317c26c
...
@@ -4,7 +4,7 @@ class CompareService
...
@@ -4,7 +4,7 @@ class CompareService
def
execute
(
current_user
,
source_project
,
source_branch
,
target_project
,
target_branch
)
def
execute
(
current_user
,
source_project
,
source_branch
,
target_project
,
target_branch
)
# Try to compare branches to get commits list and diffs
# Try to compare branches to get commits list and diffs
#
#
# Note: Use satellite only when need to compare between to repos
# Note: Use satellite only when need to compare between t
w
o repos
# because satellites are slower then operations on bare repo
# because satellites are slower then operations on bare repo
if
target_project
==
source_project
if
target_project
==
source_project
Gitlab
::
CompareResult
.
new
(
Gitlab
::
CompareResult
.
new
(
...
...
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