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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
f7678eed
Commit
f7678eed
authored
Sep 19, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in app/models/repository.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
9653ff7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
app/models/repository.rb
app/models/repository.rb
+0
-15
No files found.
app/models/repository.rb
View file @
f7678eed
...
...
@@ -777,7 +777,6 @@ class Repository
def
with_cache_hooks
result
=
yield
<<<<<<<
HEAD
return
unless
result
...
...
@@ -787,17 +786,6 @@ class Repository
result
.
newrev
end
=======
return
unless
result
after_create
if
result
.
repo_created?
after_create_branch
if
result
.
branch_created?
result
.
newrev
end
>>>>>>>
ce
-
com
/
master
def
with_branch
(
user
,
*
args
)
with_cache_hooks
do
Gitlab
::
Git
::
OperationService
.
new
(
user
,
raw_repository
).
with_branch
(
*
args
)
do
|
start_commit
|
...
...
@@ -868,7 +856,6 @@ class Repository
end
end
<<<<<<<
HEAD
def
ff_merge
(
user
,
source
,
target_branch
,
merge_request:
nil
)
our_commit
=
rugged
.
branches
[
target_branch
].
target
their_commit
=
...
...
@@ -888,8 +875,6 @@ class Repository
end
end
=======
>>>>>>>
ce
-
com
/
master
def
merge
(
user
,
source_sha
,
merge_request
,
message
)
with_cache_hooks
do
raw_repository
.
merge
(
user
,
source_sha
,
merge_request
.
target_branch
,
message
)
do
|
commit_id
|
...
...
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