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
Kazuhiko Shiozaki
gitlab-ce
Commits
2cf5a9ef
Commit
2cf5a9ef
authored
Jul 29, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better name for Project push methods module
parent
c6034af4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/project.rb
app/models/project.rb
+1
-1
app/roles/project_push.rb
app/roles/project_push.rb
+1
-1
No files found.
app/models/project.rb
View file @
2cf5a9ef
...
@@ -2,7 +2,7 @@ require "grit"
...
@@ -2,7 +2,7 @@ require "grit"
class
Project
<
ActiveRecord
::
Base
class
Project
<
ActiveRecord
::
Base
include
Repository
include
Repository
include
Gi
tPush
include
Projec
tPush
include
Authority
include
Authority
include
Team
include
Team
...
...
app/roles/
gi
t_push.rb
→
app/roles/
projec
t_push.rb
View file @
2cf5a9ef
module
Gi
tPush
module
Projec
tPush
def
observe_push
(
oldrev
,
newrev
,
ref
,
user
)
def
observe_push
(
oldrev
,
newrev
,
ref
,
user
)
data
=
post_receive_data
(
oldrev
,
newrev
,
ref
,
user
)
data
=
post_receive_data
(
oldrev
,
newrev
,
ref
,
user
)
...
...
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