Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
0d927123
Commit
0d927123
authored
Nov 25, 2015
by
Bart Jacobs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply style guide
parent
d4eac5e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
push.rb
lib/cocoapods/command/repo/push.rb
+4
-4
No files found.
lib/cocoapods/command/repo/push.rb
View file @
0d927123
...
...
@@ -29,7 +29,7 @@ module Pod
'Multiple sources must be comma-delimited.'
],
[
'--local-only'
,
'Does not perform the step of pushing REPO to its remote'
],
[
'--no-private'
,
'Lint includes checks that apply only to public repos'
],
[
'--message'
,
'Add custom commit message'
]
[
'--message'
,
'Add custom commit message'
]
,
].
concat
(
super
)
end
...
...
@@ -76,11 +76,11 @@ module Pod
File
.
chmod
(
0777
,
file
.
path
)
file
.
close
unless
ENV
[
'EDITOR'
].
nil?
if
!
ENV
[
'EDITOR'
].
nil?
@message
=
nil
else
system
(
"
#{
ENV
[
'EDITOR'
]
}
#{
file
.
path
}
"
)
@message
=
File
.
read
file
.
path
else
@message
=
nil
end
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