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
Boxiang Sun
gitlab-ce
Commits
40003585
Commit
40003585
authored
Oct 03, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Few minor fixed in code and docs for only: changes
parent
09075759
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/ci/pipeline.rb
app/models/ci/pipeline.rb
+1
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+1
-1
No files found.
app/models/ci/pipeline.rb
View file @
40003585
...
@@ -634,7 +634,7 @@ module Ci
...
@@ -634,7 +634,7 @@ module Ci
end
end
def
modified_paths
def
modified_paths
strong_memoize
(
:
change
s
)
do
strong_memoize
(
:
modified_path
s
)
do
push_details
.
modified_paths
push_details
.
modified_paths
end
end
end
end
...
...
doc/ci/yaml/README.md
View file @
40003585
...
@@ -476,7 +476,7 @@ If you are pushing a **new** branch or a new tag to GitLab, only/changes is
...
@@ -476,7 +476,7 @@ If you are pushing a **new** branch or a new tag to GitLab, only/changes is
going to always evaluate to truth and GitLab will create a job. This feature is
going to always evaluate to truth and GitLab will create a job. This feature is
not combined with merge requests yet, and because GitLab is creating pipelines
not combined with merge requests yet, and because GitLab is creating pipelines
before an user can create a merge request we don't know a target branch at
before an user can create a merge request we don't know a target branch at
this point. Without a target branchit is not possible to know what the common
this point. Without a target branch
it is not possible to know what the common
ancestor is, thus we always create a job in that case. This feature works best for
ancestor is, thus we always create a job in that case. This feature works best for
stable branches like
`master`
because in that case GitLab uses previous commit,
stable branches like
`master`
because in that case GitLab uses previous commit,
that is present in a branch, to compare against a newly pushed latest SHA.
that is present in a branch, to compare against a newly pushed latest SHA.
...
...
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