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
Léo-Paul Géneau
gitlab-ce
Commits
8a7a3f92
Commit
8a7a3f92
authored
Jun 06, 2018
by
Dylan Griffith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary @pushing_directory bool in QA::Factory::Repository::Push
parent
ef04bd4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
qa/qa/factory/repository/push.rb
qa/qa/factory/repository/push.rb
+1
-3
No files found.
qa/qa/factory/repository/push.rb
View file @
8a7a3f92
...
...
@@ -18,7 +18,6 @@ module QA
@commit_message
=
"This is a test commit"
@branch_name
=
'master'
@new_branch
=
true
@pushing_directory
=
false
end
def
remote_branch
...
...
@@ -29,7 +28,6 @@ module QA
raise
"Must set directory as a Pathname"
unless
dir
.
is_a?
(
Pathname
)
@directory
=
dir
@pushing_directory
=
true
end
def
fabricate!
...
...
@@ -51,7 +49,7 @@ module QA
repository
.
checkout
(
branch_name
)
end
if
@
pushing_
directory
if
@directory
@directory
.
each_child
do
|
f
|
repository
.
add_file
(
f
.
basename
,
f
.
read
)
if
f
.
file?
end
...
...
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