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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
83a81ffc
Commit
83a81ffc
authored
Feb 12, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
77d2aeab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/git_push_service.rb
app/services/git_push_service.rb
+1
-1
No files found.
app/services/git_push_service.rb
View file @
83a81ffc
...
@@ -40,7 +40,7 @@ class GitPushService
...
@@ -40,7 +40,7 @@ class GitPushService
else
else
# Use the pushed commits that aren't reachable by the default branch
# Use the pushed commits that aren't reachable by the default branch
# as a heuristic. This may include more commits than are actually pushed, but
# as a heuristic. This may include more commits than are actually pushed, but
# that shouldn't matter because we check for existing cross-
@
references later.
# that shouldn't matter because we check for existing cross-references later.
@push_commits
=
@project
.
repository
.
commits_between
(
@project
.
default_branch
,
@newrev
)
@push_commits
=
@project
.
repository
.
commits_between
(
@project
.
default_branch
,
@newrev
)
# don't process commits for the initial push to the default branch
# don't process commits for the initial push to the default branch
...
...
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